XLL+ Class Library (6.3)

CXlControlCancel::SetDefault

Sets whether the button is triggered by the Escape key

void SetDefault(
   bool bDefault
);

Parameters

bDefault

If bDefault is true, then the button will be deemed to have been pressed whenever the user presses the Escape key.

Remarks

Sets the default state of the control. If true, then the button will be deemed to have been pressed whenever the user presses the Escape key.

Requirements

Header: xldialog.h

See Also

CXlControlCancel Class | CXlControlCancel Methods