Thanks, Jez. I hadn't thought of that! What styles do you use for the child
container windows? Does tabbing work as I had hoped?

Glenn

-----Original Message-----
From: Jeremy White [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 17 January, 2006 06:19
To: [EMAIL PROTECTED]; perl-win32-gui-users@lists.sourceforge.net
Subject: RE: [perl-win32-gui-users] Hierarchical controls


>It would be convenient to declare a groupbox and then identify the groupbox
>as the parent control for other controls to facilitate positioning and
>operations on the entire group (I think this would also be useful for
>tabstrips, per the question the other day). The example below shows how
>moving the groupbox also moves the child controls on resizing the main
>window. However, I've noticed a couple of problems:

>The first point isn't major, but I wonder if the second two aren't related
>to it. Are these bugs, unimplemented features or do I misunderstand
>something?

I must admit that I didn't know you could do this. I also noticed a problem 
when displaying your example when running with XP styles turned on, so 
something is not quite right.

To achieve a similar effect, I use child windows as "containers" for a group

of controls. In your example, I would create a child window which has the 
group box and the other controls. Moving the child window would move all the

controls.

Cheers,

jez.



Reply via email to