Share via


CAxDialogImpl::DestroyWindow

Call this method to destroy a modeless dialog box.

BOOL DestroyWindow( );

Return Value

TRUE if the window is successfully destroyed; otherwise FALSE.

Remarks

Do not call DestroyWindow to destroy a modal dialog box. Call EndDialog instead.

Requirements

Header: atlwin.h

See Also

Reference

CAxDialogImpl Class

DestroyWindow