VC ++ 后台消息模拟

—HWND TO=0;

—//TO=::FindWindow(_T("Chrome_RenderWidgetHostHWND"),NULL);

—TO=::FindWindow(_T("360se6_Frame"),NULL);

—if(TO==0)

—{

—  MessageBox(_T("NG"));

—}

—::SendMessage(TO,WM_LBUTTONDOWN,1,0X006C018F);

—::SendMessage(TO,WM_LBUTTONUP,1,0X006C018F);

 

你可能感兴趣的:(VC)