 |
| Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET). |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

January 18th, 2007, 07:33 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
|
|
How to: Have no borders and stuff!
I would like to know how to get rid of the borders of an app, the blue bar at the top with the minimize, restore down and the close buttons. i want to get rid of it completely also i want to make the background transparent so that if i have rounded corners it doesnt show the grey background of the app!!
Thanks
------------------------------------------------
Apocolypse2005
Always ready and waiting to help!
__________________
Apocolypse2005, I'm a programmer - of sorts.
|
|

January 18th, 2007, 10:18 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
hi there...
making the form transparent in vb6 is was almost imposible (I recall somewhere seing that someone make that posible, using a lot of api calls, but i can't remember where...)
for the other problem, just change the border style of the form to none...
HTH
Gonzalo
|
|

January 21st, 2007, 03:13 PM
|
|
Registered User
|
|
Join Date: Jan 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Set the Border style property of form to None. It will remove the border of the form.
|
|

April 20th, 2007, 04:03 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
|
|
the answer to my own question for people who are wondering, when i ment borders i ment tht blue bar along the top which can be got rid of by setting the ControlBox to False!!
|
|

April 20th, 2007, 04:08 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
That blue bar is called the Title Bar.
|
|

May 6th, 2007, 08:06 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
|
|
True Brian, but as a property its called a controlbox which is everything that the blue bar contains!
|
|

May 8th, 2007, 11:35 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
Not to put too fine a point on things, it is not actually called a control box. The control box is the clickable box at the left end of the title bar (which is always called a title bar).
If you get rid of all the elements in the title bar, it will shrink to invisibility. If you have a close button (at the right), or a minimize or restore button, but no control box, the title bar will still be present.
So, you are right insofar as that the title bar will be shown if there is a control box mandated for it to contain. But that does not equate to calling the title bar a control box.
I just thought you might want to move away form a characterization like "That blue thingy at the top."
|
|

May 8th, 2007, 11:56 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
|
|
Quote:
|
quote:If you have a close button (at the right), or a minimize or restore button, but no control box, the title bar will still be present
|
I disagree becuase i have the control box property set to false and the close and restore button set to true but the "Title bar" isnt displayed! But the rest i understand now, and i do like my "characterisations"! U have to admit!
------------------------------------------------
Apocolypse2005
Always ready and waiting to be helped!
|
|
 |