wpAddClockAlarmPage - Example Code

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

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

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

/*  return (parent_wpAddClockAlarmPage(somSelf,hwndNotebook)); */
    return ( SETTINGS_PAGE_REMOVED );
}


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