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.
Parameters
  • 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
Comment
None
  • Follow