Replacement for AttachImage()?



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

    On 12/11/2002 at 16:23, xxxxxxxx wrote:

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

    ---------
    Is there a replacement method for AttachImage() in GeDialog? Is the only method now to subclass GeUserArea and use a BaseBitmap?
    Do you expect all plugins to switch to using the Attributes manager rather than utilizing one's own dialog? I found that MSG_GETDESCRIPTION no longer exists for Message(). Does this mean that one must use the new description parameters to be able to animate variables?
    Thank you,
    Jane



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

    On 13/11/2002 at 00:13, xxxxxxxx wrote:

    Quote: Originally posted by jane on 12  November 2002
    >
    > * * *
    >
    > Is there a replacement method for AttachImage() in GeDialog? Is the only method now to subclass GeUserArea and use a BaseBitmap?
    This is now handled by BitmapButtonCustomGui. Though none of the SDK example demonstrate it, you can see an example in filterpreview.cpp line 1024.
    These custom GUIs will hopefully be covered by the next documentation update.
    > Do you expect all plugins to switch to using the Attributes manager rather than utilizing one's own dialog?
    By all means this is recommended once you port your plugin to the R8 API. Almost all dialogs within C4D has been replaced by simple description resources for the Attributes Manager.
    > I found that MSG_GETDESCRIPTION no longer exists for Message(). Does this mean that one must use the new description parameters to be able to animate variables?
    Yes, the old description system is no longer supported.
    If you have question about how to best convert your dialog to a description resource you're more than welcome to ask here. Personally I had to do this for the upcoming MSA 3.0 and Helix 3.0 and found it was much less work than expected. The descriptions offer less layout capatibilities, but this is also liberating since you can focus more on how the parameters are structured.
    And the conversion is very rewarding. Once your parameter description is in place you can immediately start using Xpresso to manipulate parameters within your plugin. At least I got a kick out of this... :-)


Log in to reply