Click here to Skip to main content
15,886,806 members
Home / Discussions / C#
   

C#

 
GeneralCasting Issues... Pin
Nick Parker12-Oct-02 17:28
protectorNick Parker12-Oct-02 17:28 
GeneralRe: Casting Issues... Pin
James T. Johnson12-Oct-02 17:32
James T. Johnson12-Oct-02 17:32 
GeneralRe: Casting Issues... Pin
Nick Parker13-Oct-02 1:28
protectorNick Parker13-Oct-02 1:28 
GeneralRe: Casting Issues... Pin
leppie13-Oct-02 3:47
leppie13-Oct-02 3:47 
QuestionWhere to find .NET compatible languages? Pin
Zibar12-Oct-02 5:21
sussZibar12-Oct-02 5:21 
AnswerRe: Where to find .NET compatible languages? Pin
Stephane Rodriguez.12-Oct-02 9:57
Stephane Rodriguez.12-Oct-02 9:57 
GeneralProgress Bar in a status panel... Pin
Richard Smith11-Oct-02 13:45
Richard Smith11-Oct-02 13:45 
GeneralRe: Progress Bar in a status panel... Pin
leppie12-Oct-02 10:54
leppie12-Oct-02 10:54 
Richard Smith wrote:
Does anyone have any hints as how to implement a progress bar for a status panel?

I think you can host controls inside a statusbar panel. But it would probably be better to do a custom statusbar... Smile | :)

From MSDN:

Typically a StatusBar control consists of StatusBarPanel objects, each of which displays text and/or an icon. You can also provide owner-drawn panels to provide custom panels such as a progress bar or a series of images that displays the state of your application.

...

The default StatusBar has no panels. To add panels to a StatusBar you can use the Add method of the StatusBar.StatusBarPanelCollection class that is accessible through the Panels property of the control. You can also use the StatusBar.StatusBarPanelCollection object provided through the Panels property to remove panels from the control and access a specific StatusBarPanel object to manipulate the panel.

Now just add the progress bar to the panel Smile | :)

Before you criticize a man, walk a mile in his shoes. That way, when you do criticize him, you'll be a mile away and have his shoes.
GeneralRe: Try this. Pin
Masaaki Onishi12-Oct-02 11:32
Masaaki Onishi12-Oct-02 11:32 
GeneralRe: Progress Bar in a status panel... Pin
Nick Parker12-Oct-02 17:24
protectorNick Parker12-Oct-02 17:24 
GeneralRe: Progress Bar in a status panel... Cheaters! Pin
Richard Smith13-Oct-02 2:53
Richard Smith13-Oct-02 2:53 
GeneralDeclaration error. Pin
suresh_sathya11-Oct-02 0:43
suresh_sathya11-Oct-02 0:43 
GeneralRe: Declaration error. Pin
Paul Riley11-Oct-02 0:50
Paul Riley11-Oct-02 0:50 
GeneralRe: Declaration error. Pin
suresh_sathya11-Oct-02 1:18
suresh_sathya11-Oct-02 1:18 
GeneralRe: Declaration error. Pin
Paul Riley11-Oct-02 1:23
Paul Riley11-Oct-02 1:23 
GeneralRe: Declaration error. Pin
Paul Riley11-Oct-02 1:34
Paul Riley11-Oct-02 1:34 
GeneralRe: Declaration error. Pin
leppie11-Oct-02 9:35
leppie11-Oct-02 9:35 
GeneralRe: Declaration error. Pin
Paul Riley11-Oct-02 10:13
Paul Riley11-Oct-02 10:13 
GeneralRe: Declaration error. Pin
Daniel Turini11-Oct-02 1:38
Daniel Turini11-Oct-02 1:38 
GeneralRe: Declaration error. Pin
Luis Alonso Ramos11-Oct-02 9:40
Luis Alonso Ramos11-Oct-02 9:40 
GeneralRe: Declaration error. Pin
leppie11-Oct-02 10:03
leppie11-Oct-02 10:03 
GeneralFinding the * Pin
Nnamdi Onyeyiri10-Oct-02 5:52
Nnamdi Onyeyiri10-Oct-02 5:52 
GeneralRe: Finding the * Pin
Daniel Turini10-Oct-02 6:01
Daniel Turini10-Oct-02 6:01 
GeneralRe: Finding the * Pin
Nnamdi Onyeyiri10-Oct-02 6:01
Nnamdi Onyeyiri10-Oct-02 6:01 
GeneralRe: Finding the * Pin
David Stone10-Oct-02 14:03
sitebuilderDavid Stone10-Oct-02 14:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.