Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
|
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
 
Old January 18th, 2007, 07:33 AM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default 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.
 
Old January 18th, 2007, 10:18 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

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
 
Old January 21st, 2007, 03:13 PM
Registered User
 
Join Date: Jan 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Set the Border style property of form to None. It will remove the border of the form.

 
Old April 20th, 2007, 04:03 PM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default

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!!
 
Old April 20th, 2007, 04:08 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

That blue bar is called the Title Bar.
 
Old May 6th, 2007, 08:06 AM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default

True Brian, but as a property its called a controlbox which is everything that the blue bar contains!
 
Old May 8th, 2007, 11:35 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

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."
 
Old May 8th, 2007, 11:56 AM
Friend of Wrox
 
Join Date: Jun 2005
Posts: 244
Thanks: 3
Thanked 4 Times in 4 Posts
Default

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!





Similar Threads
Thread Thread Starter Forum Replies Last Post
'Table' does not contain a definition for 'BorderS [email protected] C# 2005 1 September 13th, 2008 03:08 AM
table borders scud-murphy Dreamweaver (all versions) 1 June 6th, 2006 12:57 PM
format table borders through CSS amc Dreamweaver (all versions) 7 August 28th, 2004 10:19 AM
XHTML Strict Frame Borders Alexpizzoferro HTML Code Clinic 4 September 21st, 2003 11:54 AM
Borders Round Image Links Alexpizzoferro HTML Code Clinic 1 July 1st, 2003 01:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.