windows_programming_notes.nbk: Home | Index | Next Page: WM_SIZE | Previous Page: WM_SETTEXT


 WM_SHOWWINDOW

The WM_SHOWWINDOW message is sent to a window when the window is about to be hidden or shown.

A window receives this message through its WindowProc function.

Parameters

Return Value

If an application processes this message, it should return zero.

Remarks

The DefWindowProc function hides or shows the window, as specified by the message. If a window has the WS_VISIBLE style when it is created, the window receives this message after it is created, but before it is displayed. A window also receives this message when its visibility state is changed by the ShowWindow or ShowOwnedPopups function.

The WM_SHOWWINDOW message is not sent under the following circumstances:

When a top-level, overlapped window is created with the WS_MAXIMIZE or WS_MINIMIZE style. When the SW_SHOWNORMAL flag is specified in the call to the ShowWindow function. Notification Requirements

Minimum DLL Version None


windows_programming_notes.nbk: Home | Index | Next Page: WM_SIZE | Previous Page: WM_SETTEXT


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time