Jump to content

WpAddSettingsPages: Difference between revisions

From EDM2
No edit summary
No edit summary
Line 12: Line 12:
rc = _wpAddSettingsPages(somSelf, hwndNotebook);
rc = _wpAddSettingsPages(somSelf, hwndNotebook);
</pre>
</pre>
[[Category:Workplace Instance Methods]]

Revision as of 16:28, 1 September 2025


This instance method is called to allow the object to add all of its Settings pages to its Settings notebook.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject  *somSelf;       /* Pointer to the object on which the method is being invoked. */
HWND       hwndNotebook;  /* Settings notebook handle. */
BOOL       rc;            /* Success indicator. */

rc = _wpAddSettingsPages(somSelf, hwndNotebook);