how to resize a form?

genu

Well-known member
Joined
Jun 9, 2005
Messages
94
Programming Experience
1-3
I have made the form all transparent, and I made the border of the form to none, so the whole program is made of a skin. How do I make it so that when they click on the bottom rigt corner picture box the form resizes when they hold down the mouse button just as if they were resizing it when the form border was set to vizible
 
hmmm. Do you have the properties of the form so that it is sizable? despite its transparancy?

Im new so I may well be wrong, but I think you would have to add event code to handle the size of the form, once they have clicked the area in question...

Seems hard work to me just for some eye-candy but hey thats only my opinion ;-) good luck
 
I dont have it to be sizable (thats the only way to remove the border) to size the form howeveer, I have to work with the

MouseDown
MouseMove
MouseUp

events.

i konw its someting with the mouse postion for mouse move and mousedown
something like this:

VB.NET:
me.width = e.x
me.height = e.y

that obviously doesnt work...so thats where I need help...
 
Back
Top