WpAddServerPage: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:wpAddServerPage}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method adds the '''Server''' details page to the Settings notebook. ==Syntax== _wpAddServerPage(somSelf, hwndNotebook); ==Parameters== ;''somSelf'' (WPServer *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPServer. ;''hwndNotebook'' (HWND) - input :Handle to the Settings noteb..." |
(No difference)
|
Latest revision as of 22:21, 10 September 2025
This method is specific to version 3, or higher, of the OS/2 operating system.
This instance method adds the Server details page to the Settings notebook.
Syntax
_wpAddServerPage(somSelf, hwndNotebook);
Parameters
- somSelf (WPServer *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPServer.
- hwndNotebook (HWND) - input
- Handle to the Settings notebook.
Returns
- rc (ULONG) - returns
- Page identifier.
- A return value of 0 indicates that the Server details page was not added to the Settings notebook.
- PageId: Identifier for the inserted page.
How to Override
This method should always be overridden in order to replace or remove the Server details page from an object which is a descendant of WPServer. An override of this method does not call the parent.