Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
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 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 7th, 2005, 03:57 AM
Authorized User
 
Join Date: Jan 2005
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!
 
Old January 7th, 2005, 04:51 AM
Friend of Wrox
 
Join Date: Dec 2004
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
 
Old January 7th, 2005, 05:51 AM
Authorized User
 
Join Date: Jan 2005
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

 
Old January 7th, 2005, 01:48 PM
Friend of Wrox
 
Join Date: Nov 2004
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...).
 
Old January 8th, 2005, 01:55 AM
Authorized User
 
Join Date: Jan 2005
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 .
 
Old January 10th, 2005, 02:38 PM
Friend of Wrox
 
Join Date: Nov 2004
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...)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Window.status Bar [email protected] 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





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