wpAddDeviceDevice2Page - Example Code

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

SOM_Scope ULONG SOMLINK MyObj_wpAddDeviceDevice2Page(MyObj *somSelf,
                                              HWND hwndNotebook)

{
  /* MyObjData *somThis = MyObjGetData(somSelf); */
  MyObjMethodDebug("MyObj","MyObj_wpAddDeviceDevice2Page");

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

  return(SETTINGS_PAGE_REMOVED);
}


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