Archived

This topic is now archived and is closed to further replies.

BB138

View an image in a window... (Windows)

Recommended Posts

Well you didnt really ask a question, so here is what I decyphered from your post (hope its what your looking for)... To display a bitmap in a window you should look into static controls and the SS_BITMAP style for it. Then you would do something like so:
HBITMAP image = LoadBitmap(...);
SendMessage(hStaticForBitmapToGo, WM_SETBITMAP, 0, image);
or something like that, that was just of the top of my head, remember, MSDN is your friend!

CEO Platoon Studios

Share this post


Link to post
Share on other sites
Oups, I''m sorry... I have not payed attention that the title was not visible
But you give me something interesting (just what I was looking for)... but can you tell me what to write in the case statement :

case WM_SETBITMAP :
..... <- here.
break;

thanks.

Share this post


Link to post
Share on other sites