hey i am programming in Visual studio visual basic express edition thing (srry 4 jumbled up title i am not on my pc i am on my mothers lol)
can i change the little X and minimize and maximize buttons like uh skin them to be anything else cuz i was making a pretty cool program (personal use only lol) and i wanted it to look kinda cool so it doesnt look all crappy and stuff with the windows look i wanted it to be a custom top and buttons and everything at the top...
so what i am trying to say is there anyway i can skin that to be something else ?
iBotModz CBox
can i do this...in VB
Started by jrjonanddad1, Jul 15 2009 04:22 PM
3 replies to this topic
#1
Posted 15 July 2009 - 04:22 PM
#2
Posted 15 July 2009 - 08:26 PM
Yes you can.
Step 1.) Make sure you have a collection of images for the top of the form. First start out my selecting your form and in the properties window and change the formborderstyle to None.
Step 2.) Add Picture Boxes and put the minimize/maximize/close pictures into them and put them at the top of the form where your close/minimize/maximize boxes would normally be.
Step 3.) Double click on the close box and type:
Step 4.) Double click on the minimize and type:
Step 5.) Double click on maximize and type:
When you maximize it, the picture boxes will be out of place, so unless you automatically adjust the position with some other code they won't work and if I were you I just wouldn't even add a maximize.
If this helped, please +REP me.
Step 1.) Make sure you have a collection of images for the top of the form. First start out my selecting your form and in the properties window and change the formborderstyle to None.
Step 2.) Add Picture Boxes and put the minimize/maximize/close pictures into them and put them at the top of the form where your close/minimize/maximize boxes would normally be.
Step 3.) Double click on the close box and type:
Me.Close()
Step 4.) Double click on the minimize and type:
Me.WindowState = FormWindowState.Minimized
Step 5.) Double click on maximize and type:
Me.WindowState = FormWindowState.Minimized
When you maximize it, the picture boxes will be out of place, so unless you automatically adjust the position with some other code they won't work and if I were you I just wouldn't even add a maximize.
If this helped, please +REP me.
#3
Posted 15 July 2009 - 09:05 PM
Shouldn'tStep 5.) Double click on maximize and type:
Me.WindowState = FormWindowState.MinimizedWhen you maximize it, the picture boxes will be out of place, so unless you automatically adjust the position with some other code they won't work and if I were you I just wouldn't even add a maximize.If this helped, please +REP me.
Me.WindowState = FormWindowState.Minimizedbe
Me.WindowState = FormWindowState.Maximized
#4
Posted 16 July 2009 - 12:36 AM
okay so that will work but is that the easiest way or just the only way i thought there was another but i might be wrong
also thanks for the help anyway......
also thanks for the help anyway......