Gets the control which currently has the focus
CXlControl* GetFocus( ) const;
This function can be called from event handlers in order to get the control that has the focus. If called from any other place, it has no effect.
The function returns NULL if no focus could be found.