Jump to content

FNTM POINTSIZECHANGED

From EDM2
Revision as of 02:00, 21 April 2025 by Martini (talk | contribs) (Created page with "This message notifies subclassing applications when the point size of the font is changed by the user. ==Syntax== <PRE> param1 PSZ pPointSize; Pointer to the text in the point-size entry field.: param2 FIXED fxPointSize; Point size.: </PRE> ==Parameters== ;pPointSize (PSZ) - Input : Pointer to the text in the point-size entry field. ;fxPointSize (FIXED) - Input : Point size. The '''fxPointSize''' field in FONTDLG stated in fixed-point notation....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message notifies subclassing applications when the point size of the font is changed by the user.

Syntax

param1
PSZ pPointSize;  /* Pointer to the text in the point-size entry field. */

param2
FIXED fxPointSize; /* Point size. */

Parameters

pPointSize (PSZ) - Input
Pointer to the text in the point-size entry field.
fxPointSize (FIXED) - Input
Point size. The fxPointSize field in FONTDLG stated in fixed-point notation.

Returns

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

Remarks

When the application wants to limit the point sizes the user can select, it should process this message by changing the pPointSize value and putting up a message box explaining the limitation to the user.

Default Processing

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