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

    Add separator in contextMenuColumn

    SDK Help
    0
    5
    405
    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 21/06/2004 at 00:37, xxxxxxxx wrote:

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

      ---------
      Hi,
      I create my own context menu in the function CreateContextMenuColumn.
      And now, I like several separators in the context.
      I added this with the command:
      bc->SetString(FIRST_POPUP_ID, "Command1");
      bc->SetString(0,"");
      bc->SetString(FIRST_POPUP_ID+1, "Command2");
      bc->SetString(0,"");
      ....
      The problem now, I see only the first separator. The other are invisible or not existing.
      Where´s the error??

      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 21/06/2004 at 09:10, xxxxxxxx wrote:

        Have you tried adding a submenu after the last separator to see if the separator then appears? Otherwise, your code follows the rules as mentioned in the SDK docs.

        Robert

        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 22/06/2004 at 01:46, xxxxxxxx wrote:

          Hi Robert,
          I didn´t try it to add submenu. Maybe it´s a workaround, but no real
          solution. But I will test it.
          Thanks

          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 22/06/2004 at 22:21, xxxxxxxx wrote:

            For these rare occasions, when more than one item with the same ID is needed, you can use bc->InsData(0, GeData("")) instead.

            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 22/07/2004 at 06:16, xxxxxxxx wrote:

              Hello Mikael,
              thanks, it works fine.

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