News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

bmp buttons

Started by rodderswank, December 04, 2005, 09:58:17 PM

Previous topic - Next topic

hutch--

Get the latest beta version from the masm32 subforum. 8.2 is missing a fewq of the macros that have been developed later.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

rodderswank

#16
Ok ive installed the service pack and im still getting the read only errors. this is the project could someone have a look and see if they can see any problems

the added code is commented out.

I have also tried moving things like hBitmap to the .data section this seems to have sorted the read only errors although the bitmap isnt setting. properly plz help me....

Could any1 take the time to show me how to correct it in the following file. either the buttons already displayed or with a button using CreateWindowEx
tnx.

[attachment deleted by admin]

hutch--

Ok, I have fixed most of it and it roughly works, the single black bitmap is placed on both the about button and a CreateWindowEx button.

I did tell you to get the BETA of masm32 as it has the later macros in it and if you DON'T have this installed it will not build. Example runs properly.

This example is basically too advanced for someone starting assembler programming.

[attachment deleted by admin]
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

rodderswank

thanks hutch for taking the time to show me i just wanted to see whta i was doing wrong whcih was appaerently everything. I had the latest masm installed as well.

1 other question is there a away to get rid of the grey border around the button so the whole thing is black.

hutch--

Unfirtunately no, thats why I wrote the custom control in the masm32 library so that you can specify an up and down bitmap and completely control the appearance.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

rodderswank

ok tnx for your help hutch

rodderswank

Is there any way by creating a different button?

PBrennick

rodderswank,
I think Hutch already answerred your question...

Quote...custom control in the masm32 library so that you can specify an up and down bitmap and completely control the appearance.

Paul
The GeneSys Project is available from:
The Repository or My crappy website

rodderswank

eh

there no way of getting rid of it? :(