Silverfrost Forums

Welcome to our forums

tree view using winio@

30 Mar 2007 10:16 #1833

I have just started using winio@ to design an interactive command system based on %tv. It seems excellent; I have got a long way in a short time. Now I would like to make a pop-up menu appear when I right click on a node in the tree. Is this possible using the winio function? Since this is only a prototype I do not want to have to use the full Windows API.

Richard May

30 Mar 2007 11:27 #1834

Please refer to %bv and %pm in the help file.

30 Mar 2007 12:07 #1836

As I understand it %pm will only trigger one popup menu, which has to be defined in the main window. I want a different menu for each node on the tree.

Richard

30 Mar 2007 1:00 #1837

The only direct approach at the moment is to use DISPLAY_POPUP_MENU@() from a callback function but this requires some ClearWin+ experience and trickery.

Please login to reply.