Jump to content

MLM_QUERYFONT

From EDM2
Revision as of 02:37, 28 April 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:MLM_QUERYFONT}} This message queries which font is in use. ==Syntax== <pre> param1 PFATTRS pFattrs; Font attribute structure.: param2 ULONG ulReserved; Reserved value, should be 0.: </pre> ==Parameters== ;pFattrs (PFATTRS) - input: Font attribute structure. ;ulReserved (ULONG) - input: Reserved value, should be 0. ==Returns== ;rc (BOOL) - return: System font indicator. ::TRUE: The system font is in use. ::FALSE: The system font i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message queries which font is in use.

Syntax

param1
PFATTRS pFattrs; /* Font attribute structure. */

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

Parameters

pFattrs (PFATTRS) - input
Font attribute structure.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

rc (BOOL) - return
System font indicator.
TRUE: The system font is in use.
FALSE: The system font is not in use.

Remarks

This message puts the attributes of the current drawing font into the font attribute structure.

Default Processing

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