![]() |
How do i make my own minimize button?
Ho im tryn to make a minimize button to my project because i dont want my form to have border style so i want to make my own button and what is the code to minimize?? the form??
|
Minimize: Form1.WindowState = vbMinimized
Maximized: Form1.WindowState = vbMaximized Normal: Form1.WindowState = vbNormal |
Hey Thanks for the Code but instead of it going to where all the programs go when they are minimized in teh bottom it goes in the left bottom of the screen and when i open another program it disappears why is this problem?
EDITED: Well now i know what's the problem its because the form doesnt have a BorderStyle so it shrinks in the left corner of the screen but how do i change it to normal :S! |
BorderStyle=2
Thats a normal window... that will allow it to minimize. I think most except no border will minimize correctly |
| All times are GMT -5. The time now is 8:05 PM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC