Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    TreeView Menu

    SDK Help
    0
    2
    299
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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.....
        https://developers.maxon.net/forum/topic/980

        1 Reply Last reply Reply Quote 0
        • First post
          Last post