能力值:
( LV2,RANK:10 )
|
-
-
2 楼
[QUOTE=红领巾;1192756]WCHAR ch[20]=L"百度一下,你就知道";
LPCTSTR title= ch;
HWND hWindow= FindWindow(NULL,title);
PostMessage(hWindow, WM_NCRBUTTONDOWN ,NULL,NULL);
Pos...[/QUOTE]
WCHAR ch[200]=L"百度一下,你就知道 - Internet Explorer, optimized for Bing and MSN";
WCHAR ch1[20]=L"InternetExplorer";
WCHAR ch2[20]=L"";
LPCTSTR title= ch;
HWND hWindow= FindWindow(NULL,title);
//GetProcess
PostMessage(hWindow, WM_ACTIVATE ,0,0);
PostMessage(hWindow, WM_NCRBUTTONDOWN ,0,0x019100c8);
PostMessage(hWindow, WM_NCRBUTTONUP ,0,0x019100c8);
PostMessage(hWindow, WM_CHANGEUISTATE ,0,0);
//PostMessage(hWindow, WM_CLOSE ,NULL,NULL);
WPARAM p;LPARAM l;
char input[20];
scanf_s(input);
return 0;
改成上面的代码窗口获取到了,消息也发送成功了,为什么窗口没有弹出邮件菜单?
|
|
|