Jump to content

wpAddSystemScreenPage

From EDM2
Revision as of 22:39, 10 September 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:wpAddSystemScreenPage}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method is called to add the '''Screen''' page to the Settings notebook. ==Syntax== _wpAddSystemScreenPage(somSelf, hwndNotebook); ==Parameters== ;''somSelf'' (WPSystem *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPSystem. ;''hwndNotebook'' (HWND) - input :Window handl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

This instance method is called to add the Screen page to the Settings notebook.

Syntax

_wpAddSystemScreenPage(somSelf, hwndNotebook);

Parameters

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

Returns

ulPageId (ULONG) - returns
Identifier for the inserted page.
A return value of 0 indicates that the Screen page was not added to the Settings notebook.

How to Override

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

Related Methods