Jump to content

WM SHOW

From EDM2
Revision as of 04:12, 9 April 2025 by Martini (talk | contribs) (Created page with "This message occurs when the WS_VISIBLE state of a window is being changed. ==Syntax== ;param1 :USHORT usshow Show indicator.: ;param2 :ULONG ulReserved Reserved value, should be 0.: ==Parameters== ;usshow (USHORT) :Show indicator. :;TRUE ::Show the window :;FALSE ::Hide the window. ;ulReserved (ULONG) :Reserved value, should be 0. ==Returns== ;ulReserved (ULONG) :Reserved value, should be 0. ==Remarks== The message is sent after the visibilit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message occurs when the WS_VISIBLE state of a window is being changed.

Syntax

param1
USHORT usshow /* Show indicator. */
param2
ULONG ulReserved /* Reserved value, should be 0. */

Parameters

usshow (USHORT)
Show indicator.
TRUE
Show the window
FALSE
Hide the window.
ulReserved (ULONG)
Reserved value, should be 0.

Returns

ulReserved (ULONG)
Reserved value, should be 0.

Remarks

The message is sent after the visibility state has changed.

In this context, the terms "shown" or "hidden" refer to the state of the WS_VISIBLE style bit. This message is not sent when a window is obscured by other windows above it.

Default Processing

The default window procedure takes no action on this message, other than to set ulReserved to 0.