This documentation is archived and is not being maintained.

COleControlSite::GetDefBtnCode

Determines if the control is a default push button.

DWORD GetDefBtnCode( );

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.

Header: afxocc.h

Show: