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

Developer

API Reference

IWIDGET_GETFOCUS()

Brew Release
Brew MP 1.0.2
See Also
- Model Events - IWidget_HasFocus - IWidget_SetFocus - IWidget Interface
Description
This function requests the current focused widget from the container.
Params
p
[]:
[in] Pointer to the IWidget object that is responsible for managing the focus. This is usually the parent container of the widget receiving the focus.
ppo
[]:
[in] Pointer to the address to store the focused (and AddRef'ed) widget. The stored address will be NULL if no widget currently has focus.
Interface
Prototype
  •    int IWidget_GetFocus(IWidget *p, IWidget **ppo)   
    
Return
  •    AEE_SUCCESS - If the focus retrieval succeeded
       AEE_EFAILED - If the focus could not be retrieved
    

Side Effect
  • None
Comments
None