Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Call this function to set the control as the default button.
static void AFX_CDECL SetDefaultButton(
CWnd* pWnd,
BOOL bDefault
);
Parameters
pWnd
A pointer to the window containing the control.bDefault
Nonzero if the control should become the default button; otherwise zero.
Return Value
Nonzero if successful; otherwise zero.
Remarks
Hinweis
The control must have the OLEMISC_ACTSLIKEBUTTON status bit set. For more information on OLEMISC flags, see the OLEMISC topic in the Windows SDK.
Requirements
Header: afxocc.h