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

참고

The control must have the OLEMISC_ACTSLIKEBUTTON status bit set.

Requirements

Header: afxocc.h

See Also

Reference

COleControlSite Class

Hierarchy Chart

COleControlSite::IsDefaultButton

DECLARE_OLECTLTYPE

Other Resources

COleControlSite Members