C
cornermoss
Unregistered / Unconfirmed
GUEST, unregistred user!
var IEHandle: THandle;
begin
IEHandle:=0;
IEHandle:=FindWindowEX(0, IEHandle, 'IEFrame', nil);
if IEHandle<>0 then SendMessage(IEHandle, WM_CLOSE, 0, 0);
IEHandle:= FindWindowEx(0, IEHandle,'Afx:400000:0',nil); //关闭腾讯浏览器
if IEHandle<>0 then SendMessage(IEHandle, WM_CLOSE, 0, 0);
end;
上面的不行呢~~ 还要什么工具得到外部程序的Handle呀?我用的winsight32,怎么不好用哦~~
begin
IEHandle:=0;
IEHandle:=FindWindowEX(0, IEHandle, 'IEFrame', nil);
if IEHandle<>0 then SendMessage(IEHandle, WM_CLOSE, 0, 0);
IEHandle:= FindWindowEx(0, IEHandle,'Afx:400000:0',nil); //关闭腾讯浏览器
if IEHandle<>0 then SendMessage(IEHandle, WM_CLOSE, 0, 0);
end;
上面的不行呢~~ 还要什么工具得到外部程序的Handle呀?我用的winsight32,怎么不好用哦~~