API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IWIDGET_SETFOCUS()

Brew Release
Brew MP 1.0.2
See Also
IWidget IWidget_HasFocus IWidget_CanTakeFocus Widget Events
Description
This helper function sets focus on a widget by calling the widget's handle event function with the event EVT_WDG_SETFOCUS.
Params
pif
[]:
[in] Pointer to the IWidget interface object.
bFocus
[]:
[in] A boolean set to TRUE if the widget should have focus or FALSE if it should not have focus.
Interface
Prototype
  •    void IWidget_SetFocus(IWidget* pif, boolean bFocus);
    
Return
  • None.
Side Effect
  • None.
Comments
IWidget_SetFocus() does not return a meaningful value. Use IWidget_HasFocus() to determine if focus was set properly.