THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/10/2008 at 06:37, xxxxxxxx wrote:
Cinema 4D Version: 11
Language(s) : C++ ;
I've a problem with updating my Dialog. I have a std::list and I would like to create a StaticText-Element/entry. Nothing happens at first, so the Dialog is not updated. Do I forget something?
> void MyConsole::CreateLines(void)
> for (list<String>::iterator it=inlist.begin(); it!=inlist.end(); ++it)
> AddStaticText(TXT_LABELS, BFH_SCALEFIT, 0, 0, *it, BORDER_NONE);
The method is executed, but nothing happens. When I click the 'play' button of C4D and try to write something, everything is okay. Do I have to send a MSG_UPDATE Message?
On 22/10/2008 at 07:00, xxxxxxxx wrote:
I can not confirm this. Replacing dialog elements within LayoutFlushGroup() and LayoutChanged() works fine here. Maybe it has something to do from where you are calling your CreateLines() function.
On 23/10/2008 at 10:55, xxxxxxxx wrote:
Is your dialog created from a CommandData class, and are you using the CommandData::RestoreLayout() function?
On 23/10/2008 at 11:34, xxxxxxxx wrote:
Currently I have no chance to test it I took GeUserArea and took the Draw Methods. that works fine.
Thanks Matthias and Cactus...