Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: User privilege issue Pin
George_George28-Oct-08 4:58
George_George28-Oct-08 4:58 
GeneralRe: User privilege issue Pin
#realJSOP28-Oct-08 5:05
professional#realJSOP28-Oct-08 5:05 
GeneralRe: User privilege issue Pin
George_George29-Oct-08 19:18
George_George29-Oct-08 19:18 
AnswerRe: User privilege issue Pin
Le centriste28-Oct-08 6:18
Le centriste28-Oct-08 6:18 
GeneralRe: User privilege issue Pin
George_George31-Oct-08 1:36
George_George31-Oct-08 1:36 
QuestionDisabling Group Boxes Pin
Karlos_V28-Oct-08 3:37
Karlos_V28-Oct-08 3:37 
AnswerRe: Disabling Group Boxes Pin
#realJSOP28-Oct-08 4:09
professional#realJSOP28-Oct-08 4:09 
GeneralRe: Disabling Group Boxes Pin
Karlos_V28-Oct-08 4:16
Karlos_V28-Oct-08 4:16 
GeneralRe: Disabling Group Boxes Pin
#realJSOP28-Oct-08 4:27
professional#realJSOP28-Oct-08 4:27 
Questionindexof Pin
arkiboys28-Oct-08 3:29
arkiboys28-Oct-08 3:29 
AnswerRe: indexof Pin
Pete O'Hanlon28-Oct-08 3:51
mvePete O'Hanlon28-Oct-08 3:51 
GeneralRe: indexof Pin
arkiboys29-Oct-08 1:29
arkiboys29-Oct-08 1:29 
QuestionRe: indexof Pin
CPallini28-Oct-08 3:58
mveCPallini28-Oct-08 3:58 
QuestionDLL import from a (memory-)stream possible? Pin
arnold_w28-Oct-08 3:17
arnold_w28-Oct-08 3:17 
AnswerRe: DLL import from a (memory-)stream possible? Pin
Pete O'Hanlon28-Oct-08 3:25
mvePete O'Hanlon28-Oct-08 3:25 
GeneralRe: DLL import from a (memory-)stream possible? Pin
arnold_w28-Oct-08 21:59
arnold_w28-Oct-08 21:59 
QuestionIs it impossible to achive really smooth scrolling horizontal text? Pin
stianstr28-Oct-08 3:11
stianstr28-Oct-08 3:11 
AnswerRe: Is it impossible to achive really smooth scrolling horizontal text? Pin
Eduard Keilholz28-Oct-08 3:54
Eduard Keilholz28-Oct-08 3:54 
GeneralRe: Is it impossible to achive really smooth scrolling horizontal text? Pin
KD19742-Jun-10 5:03
KD19742-Jun-10 5:03 
GeneralRe: Is it impossible to achive really smooth scrolling horizontal text? Pin
KD19749-Jun-10 1:31
KD19749-Jun-10 1:31 
AnswerRe: Is it impossible to achive really smooth scrolling horizontal text? Pin
Mark Churchill28-Oct-08 14:03
Mark Churchill28-Oct-08 14:03 
GeneralRe: Is it impossible to achive really smooth scrolling horizontal text? Pin
stianstr28-Oct-08 22:02
stianstr28-Oct-08 22:02 
GeneralRe: Is it impossible to achive really smooth scrolling horizontal text? Pin
Mark Churchill29-Oct-08 0:49
Mark Churchill29-Oct-08 0:49 
Regarding Note3, the timer won't be raising events at anything close to a 1ms interval. The scheduling quanta of the kernel is something like 50ms on XP. If the timer you are using raises events on the form's message loop then the accuracy will be even worse. If it uses the thread pool, then you will likely hit some horrible concurrency issues.

Keep it simple for a start. Set your timer to around 100ms. Call Control.Invalidate from the timer event. Hook/override OnPaint for the control. Use DateTime.Now to handle positioning for your animation. That should be more than accurate enough for your needs.


GeneralRe: Is it impossible to achive really smooth scrolling horizontal text? Pin
stianstr29-Oct-08 1:32
stianstr29-Oct-08 1:32 
GeneralRe: Is it impossible to achive really smooth scrolling horizontal text? Pin
Mark Churchill29-Oct-08 2:39
Mark Churchill29-Oct-08 2:39 

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.