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.
Destroys a modal dialog box.
BOOL EndDialog(
int nRetCode
);
Parameters
- nRetCode
[in] The value to be returned by CDialogImpl::DoModal.
Return Value
TRUE if the dialog box is destroyed; otherwise, FALSE.
Remarks
EndDialog must be called through the dialog procedure. After the dialog box is destroyed, Windows uses the value of nRetCode as the return value for DoModal, which created the dialog box.
Hinweis
Do not call EndDialog to destroy a modeless dialog box. Call CWindow::DestroyWindow instead.
Requirements
Header: atlwin.h