Jump to content

WM PACTIVATE

From EDM2
Revision as of 03:56, 18 April 2025 by Martini (talk | contribs) (Created page with "This message is posted when the Language Support Window or Dialog Procedure processes a WM_ACTIVATE message. ==Syntax== <pre> param1 USHORT usactive; Active indicator.: param2 HWND hwnd; Window handle.: </pre> ==Parameters== ;''usactive'' (USHORT) - input: Active indicator. :TRUE: The window was activated :FALSE: The window was deactivated ;''hwnd'' (HWND) - input: Window handle. In the case of activation, ''hwnd'' identifies the wi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is posted when the Language Support Window or Dialog Procedure processes a WM_ACTIVATE message.

Syntax

param1
    USHORT usactive; /* Active indicator. */

param2
    HWND   hwnd;     /* Window handle. */

Parameters

usactive (USHORT) - input
Active indicator.
TRUE: The window was activated
FALSE: The window was deactivated
hwnd (HWND) - input
Window handle. In the case of activation, hwnd identifies the window which was activated. In the case of deactivation, hwnd identifies the window which was deactivated.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

ulReserved (ULONG) - returns
Reserved value, should be 0.

Remarks

The activation change has already occurred when the application receives this message.

Default Processing

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