470,647 Members | 1,204 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,647 developers. It's quick & easy.

controls in groupbox

Hi:

I need to have controls in groupBox, which should not be clipped as
per the size of the group box. so if they are longer, the control like
a text box should appear (unclipped)

Thanks, Shilpi

May 11 '07 #1
4 3671
Shilpi,

In this case, you are going to have to figure out the space that the
controls in your groupbox contains and size the groupbox accordingly.

However, you should be sure that your parent container (the parent
control of the groupbox) has enough space to accomidate the resizing of the
groupbox.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<sh************@gmail.comwrote in message
news:11**********************@l77g2000hsb.googlegr oups.com...
Hi:

I need to have controls in groupBox, which should not be clipped as
per the size of the group box. so if they are longer, the control like
a text box should appear (unclipped)

Thanks, Shilpi

May 11 '07 #2
On May 11, 11:51 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Shilpi,

In this case, you are going to have to figure out the space that the
controls in yourgroupboxcontains and size thegroupboxaccordingly.

However, you should be sure that your parent container (the parent
control of thegroupbox) has enough space to accomidate the resizing of thegroupbox.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

<shilpichaud...@gmail.comwrote in message

news:11**********************@l77g2000hsb.googlegr oups.com...
Thanks Nicholas ! Yes thats not an option, I can't resize the groupbox _ I just the need the controls to be visible(without being clipped) and yet be a part of the group box.
Shilpi
>
Hi:
I need to have controls ingroupBox, which should not be clipped as
per the size of the group box. so if they are longer, the control like
a text box should appear (unclipped)
Thanks, Shilpi- Hide quoted text -

- Show quoted text -

May 11 '07 #3
Well, if that is the case, then you need have your control determine
what the size of the groupbox is and size its child members accordingly.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<sh************@gmail.comwrote in message
news:11********************@p77g2000hsh.googlegrou ps.com...
On May 11, 11:51 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
>Shilpi,

In this case, you are going to have to figure out the space that the
controls in yourgroupboxcontains and size thegroupboxaccordingly.

However, you should be sure that your parent container (the parent
control of thegroupbox) has enough space to accomidate the resizing of
thegroupbox.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

<shilpichaud...@gmail.comwrote in message

news:11**********************@l77g2000hsb.googleg roups.com...
Thanks Nicholas ! Yes thats not an option, I can't resize the groupbox _
I just the need the controls to be visible(without being clipped) and yet
be a part of the group box.

Shilpi
>>
Hi:
I need to have controls ingroupBox, which should not be clipped as
per the size of the group box. so if they are longer, the control like
a text box should appear (unclipped)
Thanks, Shilpi- Hide quoted text -

- Show quoted text -


May 11 '07 #4
On May 11, 2:39 pm, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Well, if that is the case, then you need have your control determine
what the size of thegroupboxis and size its child members accordingly.

--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com

<shilpichaud...@gmail.comwrote in message

news:11********************@p77g2000hsh.googlegrou ps.com...
On May 11, 11:51 am, "Nicholas Paldino [.NET/C# MVP]"
<m...@spam.guard.caspershouse.comwrote:
Shilpi,
In this case, you are going to have to figure out the space that the
controls in yourgroupboxcontains and size thegroupboxaccordingly.
However, you should be sure that your parent container (the parent
control of thegroupbox) has enough space to accomidate the resizing of
thegroupbox.
--
- Nicholas Paldino [.NET/C# MVP]
- m...@spam.guard.caspershouse.com
<shilpichaud...@gmail.comwrote in message
>news:11**********************@l77g2000hsb.googleg roups.com...
Thanks Nicholas ! Yes thats not an option, I can't resize thegroupbox_
I just the need the controls to be visible(without being clipped) and yet
be a part of the group box.
Shilpi
Hi:
I need to have controls ingroupBox, which should not be clipped as
per the size of the group box. so if they are longer, the control like
a text box should appear (unclipped)
Thanks, Shilpi- Hide quoted text -
- Show quoted text -- Hide quoted text -

- Show quoted text -
Do you know anything about WS_CLIPSIBLINGS and how that can be used -
If I remove that from the style, nothing happens, but when I remove it
along with WS_CHILD, it takes care of the problem, but also makes the
control a popup control

Shilpi

May 11 '07 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by phknox | last post: by
reply views Thread by Mark Johnson | last post: by
2 posts views Thread by Richard Grene | last post: by
3 posts views Thread by Steven Smith | last post: by
7 posts views Thread by Eduardo78 | last post: by
7 posts views Thread by RichG | last post: by
2 posts views Thread by RichG | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.