S
sdwflzg
Unregistered / Unconfirmed
GUEST, unregistred user!
Delphi 中关闭“计算器”程序为例: <br>var <br>HWndCalculator : HWnd; <br>begin <br>// find the exist calculator window <br>HWndCalculator := Winprocs.FindWindow(nil, '计算器'); // close the exist Calculator <br>if HWndCalculator <> 0 then <br>SendMessage(HWndCalculator, WM_CLOSE, 0, 0); <br>end; <br>________________________<br>这句为什么不能运行?<br>HWndCalculator := Winprocs.FindWindow(nil, '计算器'); // close the exist Calculator <br><br>