Add widgets to ScrollGroup status bar
-
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 -
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 -
On 10/04/2015 at 10:06, xxxxxxxx wrote:
Hello Niklas,
was your question answered?
Best wishes,
Sebastian -
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,
SebastianIt'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