R
Rico
Hello,
I have an issue where I'm using a treeview control. When I right click the
control, I would like a popup menu to appear. The problem is, if I'm not
directly over the text in the treeview, the control doesn't recognize that
anything new is selected.
For example; if the item at the top of the treeview is selected and I want
to select an item 1/2 way down the list, if I right click anywhere on that
line that isn't directly above the text, the selection is not made. the
mouse up event still registers, so the popup menu will appear, but the
control still thinks the first item on the list is selected.
If I could recreate a mouse click at the x,y coordinate, then I would be
able to make sure that this selection is made.
Any ideas?
Thanks!
Rick
I have an issue where I'm using a treeview control. When I right click the
control, I would like a popup menu to appear. The problem is, if I'm not
directly over the text in the treeview, the control doesn't recognize that
anything new is selected.
For example; if the item at the top of the treeview is selected and I want
to select an item 1/2 way down the list, if I right click anywhere on that
line that isn't directly above the text, the selection is not made. the
mouse up event still registers, so the popup menu will appear, but the
control still thinks the first item on the list is selected.
If I could recreate a mouse click at the x,y coordinate, then I would be
able to make sure that this selection is made.
Any ideas?
Thanks!
Rick