|
-
November 7th, 2011, 01:27 AM
#4
Re: show a bitmap in MFC
Write your own class derived from CStatic. In its WM_PAINT message handler draw bitmap, and then red overlay over it. There are several ways to draw bitmap, for example, you can use StretchDIBits function.
To use this class, create CStatic dialog member variable with MFC Class Wizard, and replace CStatic type with your own class.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|