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
    • Recent
    • Tags
    • Users
    • Login

    RMB on plugin window twice

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 201 Views
    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 Offline
      Helper
      last edited by

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

      On 15/09/2009 at 02:04, xxxxxxxx wrote:

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

      ---------
      Hi,

      i have a problem with my plugin in R11.5. In my dialog window is a treeview where my own contextmenu will show after a RMB-click. The problem: I have to click twice with the RMB, because at the first time the cinema-internal dialog-contextmenu appears with functions like "Undock", "Fullscreen", "Fullscreen(Group)", ... . Therefore is my question: Is there a possibility to catch the message of these context-menu, in order that these context-menu won´t show? If i have the right messagenumber, maybe i can remove the problem with following code example:

      > \> if(msg.GetID() == ???) \>       return GeDialog::Message(msg,result); \>

      I hope there is a way to solute these problem.

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

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

        On 15/09/2009 at 05:44, xxxxxxxx wrote:

        Are you calling:

        bc->FlushAll();

        at the top of your CreateContextMenuColumn() override function? This is needed to clear the default menu items.

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