Jump to content

wpAddServerPage

From EDM2

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.

Related Methods