Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this function to determine if the control is a default push button.
static DWORD AFX_CDECL GetDefBtnCode(
CWnd* pWnd
);
Parameters
- pWnd
The window object containing the button control.
Return Value
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