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?
Re: Win32API OnEraseBkgnd(CDC* pDC) equivalent?
solved, use "Clip children" in dialog resource to prevent flickering, not erasebkg processing override needed anymore ;-)
Re: Win32API OnEraseBkgnd(CDC* pDC) equivalent?
Quote:
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?