COleControlSite::SetDefaultButton
Sets the control as the default button.
void SetDefaultButton(
BOOL bDefault
);
Parameters
- bDefault
Nonzero if the control should become the default button; otherwise zero.
Remarks
Notes
The control must have the OLEMISC_ACTSLIKEBUTTON status bit set.
Requirements
Header: afxocc.h
See Also
Reference
COleControlSite::IsDefaultButton