T tan_jian Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-02 #2 postmessage(handle,wm_close,0,0);
D delphing Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-02 #3 Form1.Perform(WM_CLOSE,0,0) ?
H HeyTommy Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-03 #4 给你一句原码:<br>PostMessage(Application.Handle,WM_SYSCOMMAND,SC_CLOSE ,0);<br><br>这个消息是所有WINDOWS窗体关闭时的消息。
D delphi_sn Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-13 #5 HeyTommy兄,能不能只关掉其他窗口,只留下一个主窗口呢?
D delphi_sn Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-13 #6 HeyTommy兄,能不能只关掉其他窗口,只留下一个主窗口呢?
A aipingren Unregistered / Unconfirmed GUEST, unregistred user! 2002-11-13 #7 是把窗体在内存里卸了啊?好象可以在ONCLOSE事件里:ONACTIVE:=CAFRE;