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

    Add widgets to ScrollGroup status bar

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 289 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

      On 31/03/2015 at 13:18, xxxxxxxx wrote:

      Hi! I'm trying to add widgets to a Scroll Group's status bar, but I don't know how. The C++ SDK
      example does not seem correct. You could have multiple Scroll Groups, how would it know which
      one you want to address? Maybe because you just created the Scroll Group a few lines before
      LayoutFlushGroup(), but I'm loading a resource file.

      See SCROLLGROUP_STATUSBAR_EXT_GROUP.

      Thanks in advance
      Niklas

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

        On 01/04/2015 at 06:32, xxxxxxxx wrote:

        Hello,

        could you share your resource file with us to show how exactly you are creating your scroll group?

        It appears that a scroll group creates a sub-group when the SCROLLGROUP_STATUSBAR_EXT_GROUP flag is set. This sub-group has the ID ID_SCROLLGROUP_STATUSBAR_EXTLEFT_GROUP. This is true for all scroll groups so it seems it is not possible to target a certain sub-group of a certain scroll group since they all have the same ID.

        Best wishes,
        Sebastian

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

          On 10/04/2015 at 10:06, xxxxxxxx wrote:

          Hello Niklas,

          was your question answered?

          Best wishes,
          Sebastian

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

            On 10/04/2015 at 10:44, xxxxxxxx wrote:

            Originally posted by xxxxxxxx

            Hello,

            could you share your resource file with us to show how exactly you are creating your scroll group?

            It appears that a scroll group creates a sub-group when the SCROLLGROUP_STATUSBAR_EXT_GROUP flag is set. This sub-group has the ID ID_SCROLLGROUP_STATUSBAR_EXTLEFT_GROUP. This is true for all scroll groups so it seems it is not possible to target a certain sub-group of a certain scroll group since they all have the same ID.

            Best wishes,
            Sebastian

            It's what ResEdit outputs for a Scroll Group, but I don't have it any more as I worked around it 
            using just a normal group beneath the scroll group. 🙂 That you could only have one status bar for
            a scroll group in a dialog would have made it pretty much unusable for my case, too.

            Thanks,
            Niklas

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