Click here to Skip to main content
16,003,902 members
Home / Discussions / C#
   

C#

 
Questionhow to make a mp3 playlist and play the songs [modified] Pin
aeliminate14-Aug-06 3:58
aeliminate14-Aug-06 3:58 
AnswerRe: how to make a mp3 playlist and play the songs Pin
Judah Gabriel Himango14-Aug-06 4:59
sponsorJudah Gabriel Himango14-Aug-06 4:59 
GeneralRe: how to make a mp3 playlist and play the songs Pin
aeliminate14-Aug-06 5:32
aeliminate14-Aug-06 5:32 
GeneralRe: how to make a mp3 playlist and play the songs Pin
Judah Gabriel Himango14-Aug-06 5:42
sponsorJudah Gabriel Himango14-Aug-06 5:42 
QuestionC# compiling doubt Pin
cuser_id14-Aug-06 3:40
cuser_id14-Aug-06 3:40 
AnswerRe: C# compiling doubt Pin
Judah Gabriel Himango14-Aug-06 4:57
sponsorJudah Gabriel Himango14-Aug-06 4:57 
QuestionMultithreading, Timers and flickering ListView Pin
Tomi8714-Aug-06 3:30
Tomi8714-Aug-06 3:30 
AnswerRe: Multithreading, Timers and flickering ListView Pin
Ista14-Aug-06 3:43
Ista14-Aug-06 3:43 
The problem isn't with the thread, its with the painting of the control.

You can problably set the DoubleBuffer property to true to alleviate this.

If it doesn't, then Look at your paint event.

Inside this event you probably have a method that is called that isnt returned immediately thus, cause the flicker.

Find a way to call it at some other point in time.

If your still stuck, then try exctending the List view and override the OnPaintBackground method. This redraws the control background. Warning tho. If you dont redraw the background you will see whats behind the control you dont paint that pixel.

The reason you see flicker is because of this>
The control calls OnPaintBackground. It then paints the control white or whatever the back color is

Then it calls your paint event. If the time it takes between the PaintBackground and end of the paint event. Then your eye perceives this as flicker.

Good luck

Nick



--------------------------------------------------------

1 line of code equals many bugs. So don't write any!!

My mad coder blog

GeneralRe: Multithreading, Timers and flickering ListView Pin
Tomi8714-Aug-06 8:31
Tomi8714-Aug-06 8:31 
GeneralRe: Multithreading, Timers and flickering ListView Pin
Ista14-Aug-06 9:51
Ista14-Aug-06 9:51 
GeneralRe: Multithreading, Timers and flickering ListView Pin
Tomi8714-Aug-06 23:59
Tomi8714-Aug-06 23:59 
QuestionT namespace is not found Pin
Ista14-Aug-06 3:26
Ista14-Aug-06 3:26 
AnswerRe: T namespace is not found Pin
JoeSharp14-Aug-06 3:40
JoeSharp14-Aug-06 3:40 
GeneralRe: T namespace is not found Pin
Ista14-Aug-06 3:42
Ista14-Aug-06 3:42 
AnswerRe: T namespace is not found Pin
Josh Smith14-Aug-06 3:46
Josh Smith14-Aug-06 3:46 
GeneralRe: T namespace is not found Pin
Ista14-Aug-06 3:56
Ista14-Aug-06 3:56 
AnswerRe: T namespace is not found Pin
Colin Angus Mackay14-Aug-06 4:00
Colin Angus Mackay14-Aug-06 4:00 
Questiondataset computation Pin
Saamir14-Aug-06 2:57
Saamir14-Aug-06 2:57 
QuestionLoaderLock was detected Pin
Johan Russouw14-Aug-06 2:53
Johan Russouw14-Aug-06 2:53 
AnswerRe: LoaderLock was detected Pin
Ista14-Aug-06 4:12
Ista14-Aug-06 4:12 
AnswerRe: LoaderLock was detected Pin
Mike_V14-Aug-06 4:35
Mike_V14-Aug-06 4:35 
Question.DLL VS .EXE in Dot Net Pin
Arun Hegde14-Aug-06 2:50
Arun Hegde14-Aug-06 2:50 
AnswerRe: .DLL VS .EXE in Dot Net Pin
Guffa14-Aug-06 3:00
Guffa14-Aug-06 3:00 
AnswerRe: .DLL VS .EXE in Dot Net Pin
Ista14-Aug-06 3:24
Ista14-Aug-06 3:24 
GeneralRe: .DLL VS .EXE in Dot Net Pin
Super Lloyd14-Aug-06 4:26
Super Lloyd14-Aug-06 4:26 

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.