windows_programming_notes.nbk: Home | Index | Next Page: WM_MOUSEHOVER | Previous Page: WM_MENUSELECT
The WM_MOUSEACTIVATE message is sent when the cursor is in an inactive window and the user presses a mouse button. The parent window receives this message only if the child window passes it to the DefWindowProc function.
A window receives this message through its WindowProc function.
The return value specifies whether the window should be activated and whether the identifier of the mouse message should be discarded. It must be one of the following values.
The DefWindowProc function passes the message to a child window's parent window before any processing occurs. The parent window determines whether to activate the child window. If it activates the child window, the parent window should return MA_NOACTIVATE or MA_NOACTIVATEANDEAT to prevent the system from processing the message further.
windows_programming_notes.nbk: Home | Index | Next Page: WM_MOUSEHOVER | Previous Page: WM_MENUSELECT
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time