Resize GeUserArea from another Thread

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

On 07/02/2009 at 02:34, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   11 
Platform:      
Language(s) :     C++  ;

---------
Hi,

i already asked Matthias by mail, but maybe you know it, too. I want to change the size of a GeUserArea element in a dialog.

> \> GeUserArea::ReDraw(Bool thread = FALSE) \>

This ist just a method to redraw the content which works fine if thread is TRUE (in my case I call it from another thread). But the size should be changed, too. I tried GeUserArea::LayoutChanged() but that does not work immediatley. Maybe this method should have such a boolean thread value, too?

The element is resized when I make a mouseclick on the area. The standard console of CINEMA 4D does exactly what I need. If the content is more than the displayarea, the scrollbar is shown. How I told, in my case this is just shown when I update the area with a mouseclick.

Thanks 🙂