July 20th, 2010, 09:55 PM
Moving MFC CDialog
My question is: what windows messages are sent to dialogs child controls when the user moves the dialog windowover the screen?
I checked WM_MOVING, WN_MOVE, WM_SIZE handlers in child controls. Noneis called.
OnPaint also is not called.
Seems like the dialog just moves its bitmap.
I am asking this question because I have a popup window over one of controls, like a tool tip (derived from CWnd). When the dialog is moving, the popup stays put. I need to keep popup relative position relative to the control the same all the time and I don't know how to do it.
Any help is greatly appreciated.
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!