If you can move that form while it has no title bar means that you allready resolved the use of MouseDown / MouseMove events to do this.
My idea is to use the same approuch for resizing. What I'm saying: Place a control (you name it) somewere on the form (preferably on the bottom right "corner ". On the MouseMove event of that control, beside moving the control, you can resize the form itself in order to keep the control in the same position relativly to the corner of the form.
Is should work.
But still, why do you want to resize an irregular form? It is not soo hard but verry annoing to recalculate all the regions (if you have more then one) and combine them again. And if you hawe a background picture, hmm...
Me again!
On a second thought, disregard the control. You can just check on Form_MouseDown event if the mouse is on a predefined area (say in the bottom right "corner") and resize the form.
And yes, if it is just a rounded corner window, it is fesable to resize it and it would be a nice window too.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.