Determining 'Selected' AM GUI elements



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/08/2005 at 13:50, xxxxxxxx wrote:

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

    ---------
    You know, when you Shift+left-click a bunch of sliders or checkboxes, you can right-click for a context menu to, for instance, record keys or set the GUI format.

    How can one do this for their plugin's AM so that when a user selects a set of GUI elements the user can then perform an action on them (using a button in my situation).

    Thanks,



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/08/2005 at 19:57, xxxxxxxx wrote:

    So far, no luck.

    I've checked Message() and a MSG_DESCRIPTION_VALIDATE is sent, but since there is no data and this happens for many other actions, it is useless.

    SetDParameter() does not respond.

    GetDParameter() does respond, but, again, the GeData and flags do not contain any information concerning selection of GUI elements in the AM. And no way to track states using it either since every click sends a flood (every id within the group is sent for each action).



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 24/08/2005 at 00:07, xxxxxxxx wrote:

    AFAIK its not possible.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 24/08/2005 at 00:19, xxxxxxxx wrote:

    I'm heading that direction myself. A clue seems to be in the DescriptionPropertyCustomGui class, but there seems to be no access to it from a CustomGui (go figure!) and there is not a shred of information on usage or any methods that either return or take as argument.

    Thanks,


Log in to reply