Jump to content

WpAddResourcePage: Difference between revisions

From EDM2
Created page with "{{DISPLAYTITLE:wpAddResourcePage}} This method is specific to version 3, or higher, of the OS/2 operating system. This instance method is called to add the '''Resource''' details page to the Settings notebook. ==Syntax== _wpAddResourcePage(somSelf, hwndNotebook); ==Parameters== ;''somSelf'' (WPSharedDir *) - input :Pointer to the object on which the method is being invoked. :Points to an object of class WPSharedDir. ;''hwndNotebook'' (HWND) - input :Hand..."
 
(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 is called to add the Resource details page to the Settings notebook.

Syntax

_wpAddResourcePage(somSelf, hwndNotebook);

Parameters

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

Returns

rc (ULONG) - returns
Page identifier.
A return value of 0 indicates that the Resource 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 Resource details page from an object which is a descendant of WPSharedDir. An override of this method does not call the parent.

Related Methods