Jump to content

WM SYSVALUECHANGED

From EDM2
Revision as of 04:29, 18 April 2025 by Martini (talk | contribs) (Created page with "This message is posted to all main windows when one of the settable system values is changed. ==Syntax== <pre> param1 USHORT usChangedFirst; First system value.: param2 USHORT usChangedLast; Last system value.: </pre> ==Parameters== ;''usChangedFirst'' (USHORT) - input: The first of a contiguous set of system values that has been changed. ;''usChangedLast'' (USHORT) - input: The last of a contiguous set of system values that has been changed...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is posted to all main windows when one of the settable system values is changed.

Syntax

param1
    USHORT usChangedFirst; /* First system value. */

param2
    USHORT usChangedLast;  /* Last system value. */

Parameters

usChangedFirst (USHORT) - input
The first of a contiguous set of system values that has been changed.
usChangedLast (USHORT) - input
The last of a contiguous set of system values that has been changed.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

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

Remarks

If usChangedFirst equals usChangedLast, only one system value has changed.

If an application changes the settable system values, it is the responsibility of the application to post this message to all main windows.

This message is processed by WC_FRAME windows by doing any frame-specific processing (such as sending WM_SETBORDERSIZE messages to the size border if SV_CX/CYSIZEBORDER system values have changed) and then sending the message to the client window if one exists.

This message is only posted when settable system values change.

Default Processing

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