Hey I am trying to send Mouse Click Commands to One Appication without moving the Mouse Cursor.

I know that all appications get commands from Windows and then WndProc screens the messages and reacted to them.

Question is how do i inplant a message into one Appication's WndProc.

I was thinking a Virtual Mouse of sometype.

Thanks


P.S My Function Prototype needs to be like this

VB Code:
  1. Public Function SendAPPClick( AppWinNum as HWnd, Clickx as Integer, Clicky as Integer )
  2.  
  3. 'SEND FAKE MOUSE Y POSITION
  4. 'SEND FAKE MOUSE X POSITION
  5. 'SEND FAKE MOUSE LEFT CLICK
  6.  
  7. End Function