15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


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 | Вернуться в корень Архива |