How can I make my control have a fixed size?

I want it to act exactly like the PictureBox control does
when SizeMode is set to AutoSize.

Thanks!

RE: Making control size fixed (like PictureBox.SizeMode) by quansun

quansun
Mon Aug 04 06:56:55 CDT 2003

This is a duplicated post. Please refer to the other post with the same
topic for the answer.

Best regards,

Duke Sun
Microsoft Online Partner Support
<MCSE/MCDBA/MCSD>

Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.


RE: Making control size fixed (like PictureBox.SizeMode) by WWalden

WWalden
Wed Aug 13 05:09:35 CDT 2003

I posted it also to windowsforms.controls because for some=20
reason, the Framework section contains different=20
newsgroups depending on what machine I am on. I don't know=20
why (I have tried clearing the cache).=20

My Win 2000 machine can see dotnet.framework.clr, but I=20
can't see it on my XP machine. My XP machine can see=20
dotnet.framework.windowsforms.controls, but not on my Win=20
2000 machine. The same behavior is exhibited on machines=20
at work, so I figure to not exclude any audience, I can=20
cover the spread by posting to groups that show up in each.


>-----Original Message-----
>This is a duplicated post. Please refer to the other post=20
with the same=20
>topic for the answer.
>
>Best regards,
>
>Duke Sun
>Microsoft Online Partner Support
><MCSE/MCDBA/MCSD>
>
>Get Secure! =A8C www.microsoft.com/security
>This posting is provided "as is" with no warranties and=20
confers no rights.
>
>.
>