Filippo,
As I understand, you want to have a custom popup menu when you right click a
tree item. The menu item(s) should depend on the tree item selected.
If this is what you need, I can send an example.
Regards,
Wiebe.
"Filippo" wrote in message
news:50650000000500000061770100-1079395200000@exchange.ni.com...
> Thanks a lot, but the problem is quite different. When I right click
> on a tree item, a pop-up menu is displayed, but it must be bound to
> the item clicked, but the item selected can be different. So, if I
> right click on the first tree item, the item selected must change in
> the first item, but I don't know what is the right clicked item. I
> know only the mouse coordinates.
> I tried to generate a left click by a
simple dll using mouse_event
> function, but it doesn't work properly.
>
> Filippo