Jump to content

BKM SETPAGEWINDOWHWND: Difference between revisions

From EDM2
No edit summary
Line 20: Line 20:


==Remarks==
==Remarks==
The notebook shows the application page window specified in the ''hwndPage'' parameter whenever the notebook page specified in the ''ulPageId'' parameter is brought to the top of the notebook. If the [[BKA_AUTOPAGESIZE]] attribute is specified when that page is inserted into the notebook, the notebook also handles the sizing and positioning of the application page window.
The notebook shows the application page window specified in the ''hwndPage'' parameter whenever the notebook page specified in the ''ulPageId'' parameter is brought to the top of the notebook. If the ''BKA_AUTOPAGESIZE'' attribute is specified when that page is inserted into the notebook, the notebook also handles the sizing and positioning of the application page window.


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

Revision as of 04:23, 19 April 2025

This message associates an application page window handle with the specified notebook page.

Syntax

param1
    ULONG ulPageId; /* Page ID. */

param2
    HWND  hwndPage; /* Window handle. */

Parameters

ulPageId (ULONG) - input
The page ID of the notebook page with which the application page window is to be associated.
hwndPage (HWND) - input
The handle of the application page window that is to be associated with the notebook page identified in the ulPageId parameter.

Returns

rc (BOOL) - returns
Success indicator.
TRUE: Application page window handle was successfully set.
FALSE: Unable to set application page window handle. This value is returned if the page ID specified for the ulPageId parameter is invalid.

Remarks

The notebook shows the application page window specified in the hwndPage parameter whenever the notebook page specified in the ulPageId parameter is brought to the top of the notebook. If the BKA_AUTOPAGESIZE attribute is specified when that page is inserted into the notebook, the notebook also handles the sizing and positioning of the application page window.

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.