473,387 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Disappearing Status Bar

Haven't been able to get to the root this odd problem. Perhaps someone
here can suggest something that will get me on the right trail?

Its probably the same issue Alex reported in 2003 but had no response
(http://groups.google.com/groups?hl=e...DN%26tab%3Dwg)...

The issue:
[1] Windows application with a status bar.
[2] Status bar appears fine when application is originally launched.
[3] After minimizing the app to the system tray, then restoring it
using the notify icon (double click the tray icon) >> The app restores
*without* the status bar. (Poof - its gone!)

So far I've found/tried the following without success:
[1] Refreshing the status bar (statbar.Refresh()) in the app OnResize
override (Protected Overrides Sub OnResize used to hide the app on
minimize).
[2] Checking to see if the status bar is created (statbar.Created)
when the app Resizes >> It is, but still nothing is seen.
[3] Changing status bar colors in the OnResize override to ensure the
status bar isn't simply lurking but hidden.

The status bar is initialized in the windows generated code and two
buttons are added to the control here as well. This functions properly
with the exception of the statusbar control (and its 2 buttons)
disappearing when the application is restored.

Any help or pointers to potential help would be greatly appreciated.
Thanks much!
Nov 21 '05 #1
1 1301
Resolved this one with help from the Windows Forum.

I've posted the solution there in case anyone runs into a similar
problem. If nothing else you might get the nudge that sends you in the
right direction as I did...

Here's the link:
http://www.windowsforms.net/Forums/S...1&PostID=20535

Cheers,
NWdotnet

NWdotnet wrote in message news:<c2**************************@posting.google. com>...
Haven't been able to get to the root this odd problem. Perhaps someone
here can suggest something that will get me on the right trail?

Its probably the same issue Alex reported in 2003 but had no response
(http://groups.google.com/groups?hl=e...DN%26tab%3Dwg)...

The issue:
[1] Windows application with a status bar.
[2] Status bar appears fine when application is originally launched.
[3] After minimizing the app to the system tray, then restoring it
using the notify icon (double click the tray icon) >> The app restores
*without* the status bar. (Poof - its gone!)

So far I've found/tried the following without success:
[1] Refreshing the status bar (statbar.Refresh()) in the app OnResize
override (Protected Overrides Sub OnResize used to hide the app on
minimize).
[2] Checking to see if the status bar is created (statbar.Created)
when the app Resizes >> It is, but still nothing is seen.
[3] Changing status bar colors in the OnResize override to ensure the
status bar isn't simply lurking but hidden.

The status bar is initialized in the windows generated code and two
buttons are added to the control here as well. This functions properly
with the exception of the statusbar control (and its 2 buttons)
disappearing when the application is restored.

Any help or pointers to potential help would be greatly appreciated.
Thanks much!

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Larry Woods | last post by:
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared! First, for background...
1
by: Phil N | last post by:
Hi all. I've been here before and got a lot of help with my neophyte troubles so I'm back again. This time I have a number of questions (if I can remember them all). (I've pasted the code...
1
by: Vengeance | last post by:
On the parent_form.aspx I have these controls <asp:listbox id="Operators" runat="server" Width="163px" SelectionMode="Multiple" Rows="2"></asp:listbox> <INPUT class="loButton" onclick="java...
14
by: Paul Yanzick | last post by:
Hello, I am trying to develop a book tracking application for my capstone in school, and am running into a problem. The application is an ASP.Net application written in C#. The first page you...
2
by: A. Solomon | last post by:
Hi, I have a ImageList containing 4 bitmaps attached to a UserControl which acts as a Open/Close panel. This panel, upon click, switches the image in a PictureBox control to indicate the...
2
by: Rachel Suddeth | last post by:
Here is my scenario: I have a few custom controls that I set up on a form and tested setting properties and appearances. Then I added a couple references to the project which add classes I need to...
0
by: John Mabbott | last post by:
Hello all, We're getting some weird behavior with the ValidationSummary control. If I submit a page that fires some validators, the ValidationSummary displays them correctly. However, if I...
8
by: Sue | last post by:
I have a datagrid populated with 6 visible read-only labels and several hidden fields. Below the datagrid, I have a table with various textboxes, dropdowns, etc. I've managed to decypher the...
0
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.