wpAddClockDateTimePage - Example Code

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

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

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

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


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