Maison > Article > développement back-end > VC ++ 后台消息模拟,vc后台消息模拟_PHP教程
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>);