How to add 'key' to Menu?



  • 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,



  • 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.



  • 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.


Log in to reply