This example changes the size of the Settings page for the Person object. This size is only used when the settings are initially displayed. After that, the size and position are saved on a per-object basis.

SOM_Scope BOOL   SOMLINK PersonM_wpclsQuerySettingsPageSize(M_Person *somSelf,
                PSIZEL pSizl)

{
    /* M_PersonData *somThis = M_PersonGetData(somSelf); */
    M_PersonMethodDebug("M_Person","PersonM_wpclsQuerySettingsPageSize");

    pSizl->Cx = 600;
    pSizl->Cy = 1200;

/*    return (parent_wpclsQuerySettingsPageSize(somSelf,pSizl));  */

    return ( TRUE );
}


[Back] [Next]