|
-
October 30th, 2010, 10:52 PM
#1
Win32API OnEraseBkgnd(CDC* pDC) equivalent?
How to accomplish the "OnEraseBkgnd(CDC* pDC)" equivalent without MFC?
Win32API gives you DialogProc, which only allows you to return TRUE or FALSE, I cannot call a default dialogproc, then do something, then return.
overriding WM_ERASEBKGND to perform a ExcludeClipRect on a control does not work for me...
but it did in MFC.
any ideas anyone?
-
October 30th, 2010, 11:56 PM
#2
Re: Win32API OnEraseBkgnd(CDC* pDC) equivalent?
solved, use "Clip children" in dialog resource to prevent flickering, not erasebkg processing override needed anymore ;-)
-
November 1st, 2010, 10:58 AM
#3
Re: Win32API OnEraseBkgnd(CDC* pDC) equivalent?
 Originally Posted by 12oclocker
solved, use "Clip children" in dialog resource to prevent flickering, not erasebkg processing override needed anymore ;-)
Just curious. Do you think that has to be different in MFC?
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
|