This function is used to disable the use of touch controllers on widgets which restores the default state. This is useful if certain screens of your application are developed without touch in mind, allowing you to toggle on touch control for those screens that support it and then disable support for the remaining screens. If you wish to disable touch support, use this function on the RootContainer. It is possible to send a disable touch call to a widget besides the root container; However, this is neither recommended nor supported.
- pif:[in] Pointer to the IWidget interface object.
int IWidget_DisableTouch(IWidget *pif);
Any touch controller attached to the passed in widget and any child widget will be released upon receiving this event.
This event should only be sent to the Root Container. It is possible to send it to a sub-tree in the widget canvas, but it is neither recommended nor supported.