XLL+ Class Library (6.3)

CXlControlOK::GetDefault

Returns whether the button is triggered by the Enter key

bool GetDefault( ) const;

Remarks

Returns the default state of the control. If true, then the button will be deemed to have been pressed whenever the user presses the Enter key or double-clicks on a list-box, check-box or option button.

Requirements

Header: xldialog.h

See Also

CXlControlOK Class | CXlControlOK Methods