Jump to content

FNTM UPDATEPREVIEW

From EDM2
Revision as of 02:05, 21 April 2025 by Martini (talk | contribs) (Created page with "This message notifies subclassing applications before the preview window is updated. This occurs when the font selection is modified. ==Syntax== <PRE> param1 HWND hwndPreview; Window handle.: param2 ULONG ulReserved; Reserved value, should be 0.: </PRE> ==Parameters== ;hwndPreview (HWND) - Input : Window handle the preview image is drawn into. This is a static text field. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;ulReser...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message notifies subclassing applications before the preview window is updated. This occurs when the font selection is modified.

Syntax

param1
HWND hwndPreview; /* Window handle. */

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

Parameters

hwndPreview (HWND) - Input
Window handle the preview image is drawn into. This is a static text field.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

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

Remarks

This message notifies an application that the dialog is about to update the preview area.

Default Processing

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