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

    ShowPopupMenu() Icons

    SDK Help
    0
    3
    423
    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

      On 15/02/2017 at 11:19, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   14 
      Platform:    Mac  ;  
      Language(s) :     C++  ;

      ---------
      Hi, I saw it asked a few times but I couldn't find an answer.  Is it possible to include icons in the menu created with ShowPopupMenu()? And if so, how?

      Thanks
      Dan

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

        On 15/02/2017 at 11:26, xxxxxxxx wrote:

        Sounds like you already know how to make the menu.
        So here's an example of an entry that uses a registered icon:

        entries.SetString(FIRST_POPUP_ID+i,"&i5119&Text Here");
        

        To show your own custom icons. You'll need to register them.

        -ScottA

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

          On 15/02/2017 at 13:03, xxxxxxxx wrote:

          Thanks!

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