This method destroys a modal dialog box. EndDialog must be called through the dialog procedure. Do not call EndDialog to destroy a modeless dialog box. Call CAxDialogImpl::DestroyWindow instead.
At a Glance
Header file: | Atlwin.h |
Windows CE versions: | 2.10 and later |
Platforms: | H/PC 2.0, H/PC Pro |
Complete documentation: | Visual C++ documentation |
Syntax
BOOL EndDialog( int nRetCode );