BitMaps - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

BitMaps

Hi i need help with IMAGE_BITMAP

Here is my code for example how to do it with standard bitmaps.
cpp Syntax
[code=cpp]
HWND hBmpBtn=CreateButton(hwnd,cs->hInstance,BS_BITMAP,rc,IDBC_BITMAP,
_T("BITMAP BUTTON - NO TEXT"));


HBITMAP hBmp=reinterpret_cast(LoadImage(0,MAKEINTRESOURCE(OBM_CHECK),

IMAGE_BITMAP,0,0,LR_SHARED));

SendMessage(hBmpBtn,BM_SETIMAGE,IMAGE_BITMAP,reinterpret_cast(hBmp));

[/code]
So i need someone who can write me how to make a my own image bitmap(for my pushbutton) if is possible.
And put an example how did you wrote , like i did with standard bitmap.


Thank you for your reading.

Comments

Sign In or Register to comment.