Update/Redraw GeDialog

On 06/07/2016 at 08:10, xxxxxxxx wrote:

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

---------
Hello.

I have a GeDialog subclass and I change a parameter's value via code.
The problem is that the GeDialog doesn't update.

I assume there is an event or message that I have to send in order to execute the actual GeDialog update.
The parameter value change is taking place out of Command call in a different thread.

How can I update the GeDialog parameters after manually changing one of them ?

Thank you very much for your time.

On 07/07/2016 at 07:32, xxxxxxxx wrote:

Hi,

you typically do this in InitValues() of your dialog.
There are two ways to achieve this:
a) React on EVMSG_CHANGE, like described in the new docs
b) If you have a reference of your dialog, you can call InitValues() directly.