S
SteveK
Shouldn't this code put the menu in the same location as my cursor?
Point screenPoint = new Point(e.X, e.Y);
Point formPoint = treeView1.PointToClient(screenPoint);
Tree_ContextMenu.Show(this, formPoint);
I'm getting it above the cursor. From whay I read on MSDN about
pointToClient it shoud do what I want... but it's not. Any ideas?
Thanks,
Steve
Point screenPoint = new Point(e.X, e.Y);
Point formPoint = treeView1.PointToClient(screenPoint);
Tree_ContextMenu.Show(this, formPoint);
I'm getting it above the cursor. From whay I read on MSDN about
pointToClient it shoud do what I want... but it's not. Any ideas?
Thanks,
Steve