TreeView Menu

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/12/2003 at 00:33, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.207 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
I'm working on a treeview, defined it with TreeViewCustonGui and realized the functionality by TreeViewFunctions. What I want to do now is to open a menu when I right-click on a tree item. Cinema does this for every tree, but only with two menu points ( delete item, delete all ). I want to realize a complete menu like in the object manager on right click. First problem is where to track the right-click. In general there are two possible position, the MouseDown of TreeViewFunctions, or listen to the gui messages of the dialog. So I tried to find out where that two item menu is generated. Cant be by the MouseDown, the return value indicates if you did handle that event, and even if I return true the menu is still generated. So I did listen for messages to the dialog itself, but the only messages I receive is the mouse position, and BFM_SHOW_AREA.....
So first I need to know where the menu has to be created, and I also have no idea how I could create a menu.

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 04/12/2003 at 02:20, xxxxxxxx wrote:

Well....seems that I earned another 10 Points.....
http://www.plugincafe.com/forum/display_topic_threads.asp?ForumID=4&TopicID=306&SearchPagePosition=1&search=popupmenu&searchMode=allwords&searchIn=Thread&forum=0&searchSort=dateDESC&ReturnPage=Search