forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

tree view using winio@

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
RichardMay



Joined: 02 May 2006
Posts: 25

PostPosted: Fri Mar 30, 2007 11:16 am    Post subject: tree view using winio@ Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Fri Mar 30, 2007 12:27 pm    Post subject: Reply with quote

Please refer to %bv and %pm in the help file.
Back to top
View user's profile Send private message AIM Address
RichardMay



Joined: 02 May 2006
Posts: 25

PostPosted: Fri Mar 30, 2007 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7925
Location: Salford, UK

PostPosted: Fri Mar 30, 2007 2:00 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group