Share via


CDialogImpl::OnFinalMessage

Called after receiving the last message (typically WM_NCDESTROY).

virtual void OnFinalMessage( 
   HWND hWnd  
);

Parameters

  • hWnd
    [in] A handle to the window being destroyed.

Remarks

Note that if you want to automatically delete your object upon the window destruction, you can call delete this; here.

Requirements

Header: atlwin.h

See Also

Reference

CDialogImpl Class

CDialogImpl::GetDialogProc

Other Resources

CDialogImpl Members