XPUDefocusKeyboard

From X-Plane SDK
Jump to: navigation, search

XPUDefocusKeyboard

WIDGET_API int                  XPUDefocusKeyboard(
                                   XPWidgetMessage      inMessage,    
                                   XPWidgetID           inWidget,    
                                   intptr_t             inParam1,    
                                   intptr_t             inParam2,    
                                   int                  inEatClick);    
This causes a click in the widget to send keyboard focus back to X-Plane. This stops editing of any text fields, etc.