BOOL RedrawWindow(
HWND hWnd, // handle of window
CONST RECT *lprcUpdate,
// address of structure with update rectangle
HRGN hrgnUpdate, // handle of update region
UINT flags // array of redraw flags
);
this one popped up on MSDN after typing redraww...
it looks like an activex control creation problem :)
trace your dialog creation process -- exactly to the point where your client activex control and investigate the reason for the creation's failure. i would go for a stupid reason like not initializing ole before trying to create or something...
as far as i know the only way is to subclass the listbox control window and handle messages like WM_CTLCOLOR yourself. maybe you will have to do even the drawing yourself
i'd go for that as well. msdn says that wm_timer is a low priority msg and i guess it does not get sent. i did a simple test -- set up a timer and drag the window... no matter the timer expires if the window is dragged at that time tha msg does not get sent
you can go for some other type of...
according to msdn :)
if u supply a hwnd (your case with the dialog's handler) when the timer timeout time elapses a WM_TIMER message will be sent to the window.
i think that timerproc is called ONLY if u dont supply a hwnd (i.e. leave the parameter as NULL), anyway u can check that:
1) define a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.