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

Developer

API Reference

IWIDGET_SETVIRTUALINPUTTARGETWIDGET()

Brew Release
Brew MP 1.0.2
See Also
IWidget Interface VirtualInputStateEvent IWidget_GetVirtualInputTargetWidget() IController_SetVirtualInputTargetWidget()
Description
This function is used set the target widget for the virtual keypad. This widget may be used as a recipient for the user input. Depending on the virtual keypad in use, failure to set the target widget will prevent the user's input from being used. A virtual keypad may only have one target at a time. If another target widget is set while the keypad was still active, it would send the VIRTUALINPUT_STATUS_MOVE notification.
Params
pif
[in]:
Pointer to the IWidget interface object.
piwTarget
[in]:
Value to set to the property
Interface
Prototype
  •    AEEResult IWidget_SetVirtualInputTargetWidget(IWidget *pif, IWidget *piwTarget)
    
Return
  •    AEE_SUCCESS      --  The value was set successfully
       AEE_EFAILED      --  The value could not be set.
    
Side Effect
  • None
Comments
Note that this property may also be accessed via the virtual input manager to prevent direct contact with the keypad widget.