Fix control size

  • Thread starter Thread starter Alexander Brown
  • Start date Start date
A

Alexander Brown

How can i fix the size of a control? I have a control which renders an
image (using an overriden OnPaint). I want the control itself to never be
resized as it will be placed inside a parent frame with autoscroll enabled.
I have tried setting the control size normally, but end up only one out of
the 2 required scrollbars.

Cheers,

Alex
 
Hi
i can't understand the problem, if you are not using resize event of the
form it will be in the size that you defined in the design view.
size of control inside a form never change unless you do it manualy in your
code.

guy
 
Back
Top