ShowPopupMenu() Icons



  • 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



  • 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



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

    Thanks!


Log in to reply