COleControlSite::GetDefBtnCode

 

Determines if the control is a default push button.

Syntax

DWORD GetDefBtnCode( );

Return Value

Can be one of the following values:

  • DLGC_DEFPUSHBUTTON Control is the default button in the dialog.

  • DLGC_UNDEFPUSHBUTTON Control is not the default button in the dialog.

  • 0 Control is not a button.

Requirements

Header: afxocc.h

See Also

COleControlSite Class
Hierarchy Chart