This topic has not yet been rated - Rate this topic

COleControlSite::SetDefaultButton

Sets the control as the default button.

void SetDefaultButton(
   BOOL bDefault 
);
bDefault

Nonzero if the control should become the default button; otherwise zero.

Note Note

The control must have the OLEMISC_ACTSLIKEBUTTON status bit set.

Header: afxocc.h

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ