Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Using border widget

The border widget is instantiated by calling ISHELL_CreateInstance() with the AEECLSID_CBorderWidget ClassID.

ISHELL_CreateInstance(me->piShell, AEECLSID_CBorderWidget,
            (void**)&piwSpacer1)
#define toolbox_insert_spacer(piw) ERR_TRY(SceneApp_IPropContainer_InsertEx
            (picToolboxProp,piw,1,TRUE))
toolbox_insert_spacer(piwSpacer1);

Applications can customize border properties such as color, background, shadow, gradient, etc. using the helper functions.