Prev: Obtain DRAWITEMSTRUCT assoc. with Button
Next: Messege sent to children when parent is minimised
From: Jimbo on 14 May 2010 22:57 Hello What is the message sent to the WNDPROC when the window is minimised? The reason I want to know is because I need to set a bool variable redrawControl = true when it happens. Also when I open a minimised window, is the WM_PAINT message sent?
From: Friedel Jantzen on 15 May 2010 01:21 Am Fri, 14 May 2010 19:57:14 -0700 (PDT) schrieb Jimbo: > Hello > > What is the message sent to the WNDPROC when the window is minimised? WM_SIZE with wParam == SIZE_MINIMIZED > The reason I want to know is because I need to set a bool variable > redrawControl = true when it happens. > > Also when I open a minimised window, is the WM_PAINT message sent? Yes, and WM_SIZE with wParam == SIZE_RESTORED or SIZE_MAXIMIZED A message spy (Spy++, WinSight) is a great tool for investigating this. Without this tool you could use OutputDebugString to display the message value and wParam, lParam in a debugger window. Regards, Friedel
|
Pages: 1 Prev: Obtain DRAWITEMSTRUCT assoc. with Button Next: Messege sent to children when parent is minimised |