Home >php教程 >php手册 >VC ++ 后台消息模拟,vc后台消息模拟

VC ++ 后台消息模拟,vc后台消息模拟

WBOY
WBOYOriginal
2016-06-13 09:09:011155browse

VC ++ 后台消息模拟,vc后台消息模拟

—HWND TO=<span>0</span><span>;
—</span><span>//</span><span>TO=::FindWindow(_T("Chrome_RenderWidgetHostHWND"),NULL);</span>
—TO=::FindWindow(_T(<span>"</span><span>360se6_Frame</span><span>"</span><span>),NULL);
—</span><span>if</span>(TO==<span>0</span><span>)
—{
—  MessageBox(_T(</span><span>"</span><span>NG</span><span>"</span><span>));
—}
—::SendMessage(TO,WM_LBUTTONDOWN,</span><span>1</span>,<span>0X006C018F</span><span>);
—::SendMessage(TO,WM_LBUTTONUP,</span><span>1</span>,<span>0X006C018F</span>);

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn