client area hidden by toolbar

  • Thread starter Thread starter phil cunningham
  • Start date Start date
P

phil cunningham

When I create a simple form I can draw from
0,0 to 300,300 and the whole line appears on screen.

When I add a toolbar the same line now goes underneth the toolbar.

How do I add a tool bar by adjusting the client area to compensate.

Many thanks for any help given
Phil
 
You shouldn't draw to your form directly. Create a UserControl or a Panel,
use the standard control placement techniques, and draw onto that. Drawing
on the form is bound to give strange reults if you ever change the layout of
the controls on your form.

Niki
 
thanks for letting me know.

I'm just getting started with this so the help is much appreciated

All the best
Phil
 
Back
Top