wpAddSetPortRedirPage - Example Code

This example overrides the method to eliminate this page from the object's Settings notebook.

 SOM_Scope ULONG   SOMLINK MyObj_wpAddSetPortRedirPage(MyObj *somSelf,
                 HWND hwndNotebook)
 {
     /* MyObjData *somThis = MyObjGetData(somSelf); */
     MyObjMethodDebug("MyObj","MyObj_wpAddSetPortRedirPage");

 /*  return (parent_wpAddSetPortRedirPage(somSelf,hwndNotebook)); */

     return ( SETTINGS_PAGE_REMOVED );
 }


[Back: wpAddSetPortRedirPage - Related Methods]
[Next: wpAddSetPortRedirPage - Topics]