C chen_cyh Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-14 #2 postmessage(findwindow('form1',nil),wm_quit)
G gzll1 Unregistered / Unconfirmed GUEST, unregistred user! 2003-06-14 #4 你可以这样试试: var RvHandle:hWnd; begin RvHandle :=FindWindow(nil,'AutoCad'); if RvHandle >0 then begin PostMessage(RvHandle,WM_Close,0,0); exit; end; end;
你可以这样试试: var RvHandle:hWnd; begin RvHandle :=FindWindow(nil,'AutoCad'); if RvHandle >0 then begin PostMessage(RvHandle,WM_Close,0,0); exit; end; end;