Einzelnen Beitrag anzeigen

MathiasSimmack
(Gast)

n/a Beiträge
 
#5

Re: Position von ContextMenu

  Alt 11. Apr 2005, 11:23
Ahhhhh, "PointToScreen" und "PointToClient" heißt das im Framework
Code:
Point p = new Point(e.x, e.y);
p      = this.PointToClient(p);
printPopup.Show(this, p);
Und voilà: das Menü erscheint beim Cursor.
  Mit Zitat antworten Zitat