Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    Upgrade Dialog

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 378 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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:

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

      ---------
           Hi!

      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?

      > <code>
      > void MyConsole::CreateLines(void)
      > {
      >      LayoutFlushGroup(INNER_GROUP);
      >      for (list<String>::iterator it=inlist.begin(); it!=inlist.end(); ++it)
      >      {
      >           AddStaticText(TXT_LABELS, BFH_SCALEFIT, 0, 0, *it, BORDER_NONE);
      >      }
      >      LayoutChanged(INNER_GROUP);
      >
      > }</code>

      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?

      Thanks.
      </CODE>

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

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

        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.

        cheers,
        Matthias

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

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

          On 23/10/2008 at 10:55, xxxxxxxx wrote:

          Howdy,

          Is your dialog created from a CommandData class, and are you using the CommandData::RestoreLayout() function?

          Adios,
          Cactus Dan

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

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

            On 23/10/2008 at 11:34, xxxxxxxx wrote:

            heyho,

            Currently I have no chance to test it 😞 I took GeUserArea and took the Draw Methods. that works fine.

            Thanks Matthias and Cactus...

            1 Reply Last reply Reply Quote 0
            • First post
              Last post