CustomGui GeUserArea in A.M.



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

    On 22/11/2008 at 11:34, xxxxxxxx wrote:

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

    ---------
    This is weird. My custom data type has a custom gui shown in the Attributes Manager for my plugin object. In the custom gui there is a GeUserArea-derivative to draw a falloff grid. Sizing the A.M., everything works as it should. But if the A.M. has scrollbars, the GeUserArea does not redraw while adjusting the scrollbars.

    I see that the Soft Selection falloff grid does not display this behavior. So, what is needed here? Do I need to check GeUserArea::Message() for BFM_DRAW?

    Thanks,



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

    On 22/11/2008 at 12:06, xxxxxxxx wrote:

    Got it. It was being redrawn ... but the x1, y1 were being offset leading to a mess. So, I just completely ignore x1,y1,x2,y2 sent to GeUserArea::Draw() and use 0,0,width,height (the latter set in GeUserArea::Sized() with GetMinSize() to limit).

    Now I can die happy. ;)



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

    On 23/11/2008 at 03:48, xxxxxxxx wrote:

    yep, also do that here accordingly, so it seems to be the right way to do. ;-)


Log in to reply