Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 18th, 2007, 07:33 AM
Friend of Wrox
Points: 1,075, Level: 12
Points: 1,075, Level: 12 Points: 1,075, Level: 12 Points: 1,075, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2005
Location: , , United Kingdom.
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.
Reply With Quote
  #2 (permalink)  
Old January 18th, 2007, 10:18 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
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
Reply With Quote
  #3 (permalink)  
Old January 21st, 2007, 03:13 PM
Registered User
 
Join Date: Jan 2007
Location: , , .
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.

Reply With Quote
  #4 (permalink)  
Old April 20th, 2007, 04:03 PM
Friend of Wrox
Points: 1,075, Level: 12
Points: 1,075, Level: 12 Points: 1,075, Level: 12 Points: 1,075, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2005
Location: , , United Kingdom.
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!!
Reply With Quote
  #5 (permalink)  
Old April 20th, 2007, 04:08 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

That blue bar is called the Title Bar.
Reply With Quote
  #6 (permalink)  
Old May 6th, 2007, 08:06 AM
Friend of Wrox
Points: 1,075, Level: 12
Points: 1,075, Level: 12 Points: 1,075, Level: 12 Points: 1,075, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2005
Location: , , United Kingdom.
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!
Reply With Quote
  #7 (permalink)  
Old May 8th, 2007, 11:35 AM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
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."
Reply With Quote
  #8 (permalink)  
Old May 8th, 2007, 11:56 AM
Friend of Wrox
Points: 1,075, Level: 12
Points: 1,075, Level: 12 Points: 1,075, Level: 12 Points: 1,075, Level: 12
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2005
Location: , , United Kingdom.
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!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
'Table' does not contain a definition for 'BorderS AccessAasif@aol.com 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



All times are GMT -4. The time now is 12:10 PM.


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