View previous topic :: View next topic |
Author |
Message |
RichardMay
Joined: 02 May 2006 Posts: 25
|
Posted: Fri Mar 30, 2007 11:16 am Post subject: tree view using winio@ |
|
|
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 |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Fri Mar 30, 2007 12:27 pm Post subject: |
|
|
Please refer to %bv and %pm in the help file. |
|
Back to top |
|
|
RichardMay
Joined: 02 May 2006 Posts: 25
|
Posted: Fri Mar 30, 2007 1:07 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Fri Mar 30, 2007 2:00 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
|