Home  >  Article  >  Backend Development  >  VC++ background message simulation

VC++ background message simulation

WBOY
WBOYOriginal
2016-08-08 09:27:10965browse

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

The above introduces the VC ++ background message simulation, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

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