Jump to content

FNTM STYLECHANGED

From EDM2
Revision as of 02:03, 21 April 2025 by Martini (talk | contribs) (Created page with "This message notifies subclassing applications when the user changes any of the attributes in the STYLECHANGE structure. ==Syntax== <PRE> param1 STYLECHANGE styc; Style changes.: param2 ULONG ulReserved; Reserved value, should be 0.: </PRE> ==Parameters== ;styc (STYLECHANGE) - Input : Style changes. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReserved (ULONG) - returns : Reserved value, should be 0. ==R...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message notifies subclassing applications when the user changes any of the attributes in the STYLECHANGE structure.

Syntax

param1
STYLECHANGE styc;      /* Style changes. */

param2
ULONG ulReserved;     /* Reserved value, should be 0. */

Parameters

styc (STYLECHANGE) - Input
Style changes.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

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

Remarks

The "Old" fields show the style attributes before the user made the change. The other parameters show what the state will be after the application passes this message to WinDefFontDlgProc. When the "Old" field and the "New" field are the same, no change is made for that attribute.

Default Processing

The WinDefDlgProc function does not expect to receive this message and takes no action on it other than to return 0.