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.
Parameters
  • 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
Comment
Note that this property may also be accessed via the virtual input manager to prevent direct contact with the keypad widget.
  • Follow