This message is sent by the frame to itself as a result of receiving a WM_SYSCOMMAND message with SC_CLOSE code set. If this message is passed to WinDefDlgProc, this function calls WinDismissDlg and passes the DID_CANCEL result code to it.


[Back] [Next]