Jump to content

BKM TURNTOPAGE: Difference between revisions

From EDM2
Created page with "This message brings the specified page to the top of the notebook. ==Syntax== <PRE> param1 ULONG ulPageId; Page ID.: param2 ULONG ulReserved; Reserved value, should be 0.: </PRE> ==Parameters== ;ulPageId (ULONG) - Input : The page identifier that is to become the top page. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;fSuccess (BOOL) - returns : Success indicator: ::TRUE: The page was successfully moved to the top of t..."
 
 
Line 22: Line 22:


==Remarks==
==Remarks==
The application receives a [[BKN_PAGESELECTED]] notification code when the new page is brought to the top of the notebook.
The application receives a ''BKN_PAGESELECTED'' notification code when the new page is brought to the top of the notebook.


==Default Processing==
==Default Processing==

Latest revision as of 18:41, 21 April 2025

This message brings the specified page to the top of the notebook.

Syntax

param1
ULONG ulPageId;   /* Page ID. */

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

Parameters

ulPageId (ULONG) - Input
The page identifier that is to become the top page.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

fSuccess (BOOL) - returns
Success indicator:
TRUE: The page was successfully moved to the top of the notebook.
FALSE: Unable to move the page to the top of the notebook. This value is returned if the page ID specified in the ulPageId parameter is invalid.

Remarks

The application receives a BKN_PAGESELECTED notification code when the new page is brought to the top of the notebook.

Default Processing

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