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


Dialog based MFC...

Recommended Posts

VC++ 6.0 using MFC dialog based app How do I draw a bitmap onto a CStatic control? I have tried the SetBitmap( hBitmap ) method of CStatic once I loaded the bitmap with LoadImage from a file which returns a valid HBITMAP but SetBitmap is gagging on me... Do I have to select the object into a dc somewhere? Could someone point me in the right direction? I will continue my search in the meantime... Thanks in advance.

Share this post

Link to post
Share on other sites