Click here to Skip to main content
15,921,989 members
Home / Discussions / C#
   

C#

 
GeneralCustom Listbox controls Pin
kam33mitch7-Jul-04 8:08
kam33mitch7-Jul-04 8:08 
GeneralRe: Custom Listbox controls Pin
Heath Stewart7-Jul-04 13:04
protectorHeath Stewart7-Jul-04 13:04 
GeneralRe: Custom Listbox controls Pin
kam33mitch7-Jul-04 14:40
kam33mitch7-Jul-04 14:40 
Questionbitmap to byte array ? Pin
kendao7-Jul-04 7:10
kendao7-Jul-04 7:10 
AnswerRe: bitmap to byte array ? Pin
Grimolfr7-Jul-04 8:05
Grimolfr7-Jul-04 8:05 
AnswerRe: bitmap to byte array ? Pin
Heath Stewart7-Jul-04 8:50
protectorHeath Stewart7-Jul-04 8:50 
GeneralProgress Bar in Status bar panel Pin
bouli7-Jul-04 4:38
bouli7-Jul-04 4:38 
GeneralRe: Progress Bar in Status bar panel Pin
Heath Stewart7-Jul-04 5:55
protectorHeath Stewart7-Jul-04 5:55 
The gist of it is that you set one of the StatusBarPanel's BorderStyle property to StatusBarPanelBorderStyle.None, its Style property to StatusBarPanelStyle.OwnerDraw, and handle the StatusBar.DrawItem event to "draw" that StatusBarPanel. What you actually end up doing is using the StatusBarDrawItemEventArgs passed to you to site (position) a ProgressBar in the area of the StatusBarPanel that you're "drawing".

A quick search on "statusbar progressbar" here on CodeProject yielded a couple good results:

http://www.codeproject.com/info/search.asp?cats=3&cats=5&cats=6&searchkw=statusbar+progressbar[^]

They're in VB.NET, but contain mostly use the BCL (for which the calls are the same for almost any managed language, and the classes/properties/methods/etc. are always the same for any managed language).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Progress Bar in Status bar panel Pin
bouli7-Jul-04 23:52
bouli7-Jul-04 23:52 
GeneralRe: Progress Bar in Status bar panel Pin
Heath Stewart8-Jul-04 3:16
protectorHeath Stewart8-Jul-04 3:16 
GeneralRe: Progress Bar in Status bar panel Pin
bouli8-Jul-04 22:08
bouli8-Jul-04 22:08 
GeneralRe: Progress Bar in Status bar panel Pin
Gary Thom7-Jul-04 5:58
Gary Thom7-Jul-04 5:58 
GeneralRe: Progress Bar in Status bar panel Pin
bouli7-Jul-04 23:53
bouli7-Jul-04 23:53 
GeneralRe: Progress Bar in Status bar panel Pin
Gary Thom8-Jul-04 0:10
Gary Thom8-Jul-04 0:10 
Questionhow does this exception happened Pin
noosword7-Jul-04 2:58
noosword7-Jul-04 2:58 
AnswerRe: how does this exception happened Pin
Heath Stewart7-Jul-04 5:49
protectorHeath Stewart7-Jul-04 5:49 
GeneralRe: how does this exception happened Pin
Anonymous7-Jul-04 17:19
Anonymous7-Jul-04 17:19 
GeneralRe: how does this exception happened Pin
Heath Stewart8-Jul-04 3:01
protectorHeath Stewart8-Jul-04 3:01 
GeneralRe: how does this exception happened Pin
noosword8-Jul-04 17:52
noosword8-Jul-04 17:52 
Generalwindows using IIS Pin
ravindra2317-Jul-04 2:28
ravindra2317-Jul-04 2:28 
GeneralRe: windows using IIS Pin
Not Active7-Jul-04 2:55
mentorNot Active7-Jul-04 2:55 
GeneralRe: windows using IIS Pin
Peter Vertes7-Jul-04 3:35
Peter Vertes7-Jul-04 3:35 
GeneralRe: windows using IIS Pin
Heath Stewart7-Jul-04 5:45
protectorHeath Stewart7-Jul-04 5:45 
QuestionHow to make row stay at the top in datatable Pin
Atlemann7-Jul-04 1:37
Atlemann7-Jul-04 1:37 
AnswerRe: How to make row stay at the top in datatable Pin
DougW487-Jul-04 7:09
DougW487-Jul-04 7:09 

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.