XLL+ Class Library

CXlDialog::GetFocus

Gets the control which currently has the focus

[C++]
CXlControl* GetFocus() const;

Remarks

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.

Requirements

Header: xldialog.h

See Also

CXlDialog Class | CXlDialog Methods