How can I change the maximum size of a form?

Hi,

I've got a Windows form and I need to set the height to greater than that of the screen height.

How can I do it? It restricts the height to that of the screen (plus an additional 12 pixels for some reason).
saltedAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AGBrownCommented:
Is there a reason that you are trying to do that? Are you trying to hide the borders?
0
saltedAuthor Commented:
No, I'm calling PrintWindow, but the control I'm printing (to an image) is greater than the size of the screen.
0
AGBrownCommented:
Ok, then I don't really know, sorry :$

Andy
0
gbzhhuCommented:
I use printForm for doing this kind of operation and it is really useful.  I used for many projects now and it is money well spent if you want to buy a third party control.  If not I won't say there is no free solution because often there is but I don't know
0
vo1dCommented:
hi salted, thats what clipping is for.
only showable objects are drawn to screen, thats how graphics work.
if you wanna print data, which is offscreen, you will have to do it by hand.
you will have to implement drawing routines for each type of control and its drawn objects.
then you could draw all to a graphics objects of an created bitmapobject, and spit that image to the settuped printdocument pagesettings height in its printpage event.
that event has an graphics handle to the printed site as event argument.
vo1d
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.