Jump to content

BKM QUERYPAGESTYLE

From EDM2
Revision as of 18:31, 21 April 2025 by Martini (talk | contribs) (Created page with "This message queries the style that was set when the specified page was inserted. ==Syntax== <PRE> param1 ULONG ulPageId; Page ID.: param2 ULONG ulReserved; Reserved value, should be 0.: </PRE> ==Parameters== ;ulPageId (ULONG) - Input : Page identifier of the page from which to query the style setting. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;usPageStyle (USHORT) - returns : Page style data: ::BOOKERR_INVALID_PARA...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message queries the style that was set when the specified page was inserted.

Syntax

param1
ULONG ulPageId;   /* Page ID. */

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

Parameters

ulPageId (ULONG) - Input
Page identifier of the page from which to query the style setting.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

usPageStyle (USHORT) - returns
Page style data:
BOOKERR_INVALID_PARAMETERS: An invalid page ID was specified for the ulPageId parameter.
Other: Page style data.

Remarks

This style data is set when the page is inserted, which is done by using the BKM_INSERTPAGE message.

Default Processing

The default window procedure does not expect to receive this message and therefore takes no action on it other than to return 0.