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

C#

 
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 
I have been trying to achive a smooth horizontal scrolling text on the bottom of the screen in one of my applications.
It seems to be almost impossible to get it to run without choppy movements.

My scroller is double buffered, and using microsecond accurate timing to calculate the distance to move pr frame. Still it seems to be moving at a variable rate stuttering on its way from the right to left side of the screen...

I have searched for several days now for examples/techniques how to achive smooth scrolling text, but all the examples I have tried which claims to be smooth scrolling isn't... (Most just implement double buffering, but that only removes flicker).

Some sites suggest sub pixel accure rendering, antialiasing, and that these problems are related to how lcd screens work. I have tried regular GUI programming in C# (graphics/bitmap drawing), DirectDraw (C++ and C#), Direct3D (C++ and C#), and OpenGL (C++).

It's kind of frustrating that something that was possible to do on a Commodore 64 with 1 MHz is so hard to replicate on a 2 GHz modern PC. I guess it goes a long way to show the usefullness of custom chips to help the CPU.

If anyone have some suggestions or even better example code on how to achive such a thing I would appriciate it a lot! (Preferably I would like to run this without a 3D accelerated graphics card.)
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 
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 
Questionout Pin
arkiboys28-Oct-08 3:05
arkiboys28-Oct-08 3:05 
AnswerRe: out Pin
Pete O'Hanlon28-Oct-08 3:10
mvePete O'Hanlon28-Oct-08 3:10 
GeneralRe: out Pin
arkiboys28-Oct-08 3:12
arkiboys28-Oct-08 3:12 
GeneralRe: out Pin
Pete O'Hanlon28-Oct-08 3:23
mvePete O'Hanlon28-Oct-08 3:23 
GeneralRe: out Pin
arkiboys28-Oct-08 3:30
arkiboys28-Oct-08 3:30 
GeneralRe: out Pin
Guffa28-Oct-08 4:12
Guffa28-Oct-08 4:12 
GeneralRe: out Pin
arkiboys29-Oct-08 0:30
arkiboys29-Oct-08 0:30 
QuestionPersonal Opinion Pin
EliottA28-Oct-08 2:43
EliottA28-Oct-08 2:43 
AnswerRe: Personal Opinion Pin
#realJSOP28-Oct-08 2:48
professional#realJSOP28-Oct-08 2:48 

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.