Einzelnen Beitrag anzeigen

SimStar001

Registriert seit: 18. Jan 2008
594 Beiträge
 
#6

Re: Postmessage(Handle,WM_RBUTTONDOWN,0,0) an falscher posit

  Alt 8. Okt 2008, 09:08
Also ich berechne aus Koordinaten die Cursor Position die im externen Programm gesetzt werden soll.

soweit ganz gut, Position wird richtig berechnent und die maus mit Setcursorpos dorthin bewegt.

nun soll auch genau an dieser stelle der rechtsklick erfolgen damit sich ein popup öffnent! und das funktioniert nicht.


Nun zu http://msdn.microsoft.com/en-us/library/aa923238.aspx

ich verstehe irgendwie nicht was ich denn nun genau angeben bzw übergeben muss??

Zitat:
xPos

Value of the low-order word of lParam. Specifies the x-coordinate of the pointer, relative to the upper-left corner of the client area.

yPos

Value of the high-order word of lParam. Specifies the y-coordinate of the pointer, relative to the upper-left corner of the client area.
Marco Tröger
  Mit Zitat antworten Zitat