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

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

WBOY
WBOY原创
2016-06-13 09:09:011154浏览

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>);

 

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn