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
    • Register
    • Login

    How to add 'key' to Menu?

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 291 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 03/03/2005 at 20:52, xxxxxxxx wrote:

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

      ---------
      Can't seem to find it, but how does one add the associated key to a Menu for display? Do you just wing it or is there a setting that can be changed for this purpose?

      Example:

      ______________
      Undo     Ctl+Z
      Delete     Del
      --------------

      I want to add the 'Del' and 'Ctl+Z' to the menu without a dialog resource and not in strings, if possible.

      Thanks,

      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 04/03/2005 at 09:29, xxxxxxxx wrote:

        There is no direct way to add shortcut data. The only way is to add a command plugin to the menu. These can have user assigned shortcuts.

        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 04/03/2005 at 09:58, xxxxxxxx wrote:

          Ah, I was becoming aware of this after finding 'shortcut' in the gui.h file and noticing that only commands had shortcuts.

          So, I can add the shortcut key text to my menu string (during AddMenuString() of course), but it's up to me to 'make it look perty' by inserting spacing to simulate the effect, anyway. 🙂

          I have another question, in new thread. This is kind of important.

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