This example demonstrates how to change the default open view of the instances of this class by overriding this method.

SOM_Scope ULONG   SOMLINK MyObjectM_wpclsQueryDefaultView(M_MyObject *somSelf)
{
    /* M_MyObjectData *somThis = M_MyObjectGetData(somSelf); */
    M_MyObjectMethodDebug("M_MyObject","MtObjectM_wpclsQueryDefaultView");

    /*  Make the default open view the ICON view */

    return ( OPEN_ICON );
}


[Back] [Next]