找到QQ的窗口
我的QQ是QQ2000B
用SPY++发现QQ的标题为空,找到" "[DIALOG]
双击,将windows caption复制下来(完全的)
pause到FindWindow()里,有个小技巧先打""再在里面复制
void __fastcall TForm1::Button1Click(TObject *Sender)
{
HWND hwnd;
hwnd=FindWindow(NULL," ");
if(hwnd)
SendMessage(hwnd,WM_CLOSE,0,0);
}
run 一下一点qq的注册向导对话框就消失了
而qq的用户登陆的windows caption 为xxxxxx
tong