Jump to content

wpAddSessionPage

From EDM2
Revision as of 22:22, 10 September 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpAddSessionPage}} This method is specfic to Version 3, or higher, of the OS/2 operating system. This instance method is called to add the '''3.0 Session Details''' page to the Settings notebook. ==Syntax== _wpAddSessionPage(somSelf, hwndNotebook); ==Parameters== ;''somSelf'' (WPWinConfig *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPWinConfig. ;''hwndNotebook'' (HWND) - input :Hand...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This method is specfic to Version 3, or higher, of the OS/2 operating system.

This instance method is called to add the 3.0 Session Details page to the Settings notebook.

Syntax

_wpAddSessionPage(somSelf, hwndNotebook);

Parameters

somSelf (WPWinConfig *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPWinConfig.
hwndNotebook (HWND) - input
Handle to the Settings notebook.

Returns

rc (ULONG) - returns
Page identifier.
A return value of 0 indicates that the 3.0 Session Details page was not added to the Settings notebook.
PageId: Identifier for the inserted page.

How to Override

This method should always be overridden to replace or remove the 3.0 Session Details page from an object which is a descendant of WPWinConfig. An override of this method does not call the parent.

Related Methods