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 > Pro VB 6
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro 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 7th, 2005, 03:57 AM
Authorized User
 
Join Date: Jan 2005
Location: , , India.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to yeetesh
Default hide the status bar of window at runtime

can we hide the status bar of window at runtime with vb 6.0
anyone one got code for that!
Reply With Quote
  #2 (permalink)  
Old January 7th, 2005, 04:51 AM
Friend of Wrox
 
Join Date: Dec 2004
Location: Chennai, Tamil nadu, India.
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

I guess window.statusbar.visible=false would do that. If I remember it right .. i guess it would work only in Netscape.

Ugly way of doing it :)
----------------------
Why not open a new window by using window.open(....) there you can set the statusbar=0 .. and then close the existing window?

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
Reply With Quote
  #3 (permalink)  
Old January 7th, 2005, 05:51 AM
Authorized User
 
Join Date: Jan 2005
Location: , , India.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to yeetesh
Default

hi vadivel thanx for reply but i need to do it through a vb 6 application are there any references to be made

Reply With Quote
  #4 (permalink)  
Old January 7th, 2005, 01:48 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

Could you please show the ends of sentences with periods?

Are you talking about the status bar of a VB6 form? Or ...?
What action should hide the status bar? Just opening the app?

More detail would be helpful (especially so if you don't just string all your words together in one stream...).
Reply With Quote
  #5 (permalink)  
Old January 8th, 2005, 01:55 AM
Authorized User
 
Join Date: Jan 2005
Location: , , India.
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to yeetesh
Default

hi BrianWren
In My app i have used a status bar to appear on my MDI form .Now I want to Hide the TaskBar of the Sysytem ,from my application .I know it can be done through API but Which API should i use .
Reply With Quote
  #6 (permalink)  
Old January 10th, 2005, 02:38 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

Code:
Public Const SW_HIDE = 0
Public Const SW_SHOW = 5
Public Declare Function ShowWindow Lib "user32" Alias "ShowWindow" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
    . . .

    Dim x as Long

    x = ShowWindow(Me.hWnd, SW_HIDE)
(I think this might actually hide the whole window, though... Try it with a timer to run the command with SW_Show, so that you don't lose control of the app if it does hide it altogether...)
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
Window.status Bar AccessAasif@aol.com C# 2005 6 January 9th, 2008 05:18 AM
remove the status bar from popup window crmpicco Javascript How-To 1 December 4th, 2007 06:15 PM
Status Bar ironchef Java GUI 0 October 26th, 2006 09:19 PM
how to display message to window.status bar tllcll BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 0 November 22nd, 2005 02:04 AM
Status Bar soccers_guy10 Pro VB.NET 2002/2003 3 August 12th, 2003 11:48 PM



All times are GMT -4. The time now is 06:09 AM.


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