Sysem Menu->SC_CLOSE
S.A.C. Madrid -- sacmad2@ibm.net Thursday, March 06, 1997 Environment: VC++ 4.0 NT3.51 Hello: I tried to intercep the message of the system menu SC_CLOSE of my MainFrame, and worked. But when I tried to intercep the same message in the system menu of the MDIChildFrame this dosen=B4t work. So how may I intercep this message, the one of the MDIChildWindow? Thanks for all.
Mario Contestabile -- Mario_Contestabile.UOS__MTL@UOSMTL2.universal.com Monday, March 10, 1997 [Mini-digest: 2 responses] > I tried to intercep the message of the system menu SC_CLOSE of my >MainFrame, and worked. But when I tried to intercep the same message in = the >system menu of the MDIChildFrame this dosen=B4t work. So how may I inter= cep >this message, the one of the MDIChildWindow? yourdoc::OnCloseDocument() mcontest@universal.com -----From: Mario Contestabile > I tried to intercep the message of the system menu SC_CLOSE of my >MainFrame, and worked. But when I tried to intercep the same message in = the >system menu of the MDIChildFrame this dosen=B4t work. So how may I inter= cep >this message, the one of the MDIChildWindow? yourdoc::OnCloseDocument() mcontest@universal.com
Become an MFC-L member | Вернуться в корень Архива |