Click here to Skip to main content
15,908,455 members
Home / Discussions / C#
   

C#

 
AnswerRe: Installing a windows service on a windows 2003 server Pin
Talal Sultan8-Aug-07 23:22
Talal Sultan8-Aug-07 23:22 
Questionmarkquee in c# Pin
monuSaini8-Aug-07 22:37
monuSaini8-Aug-07 22:37 
AnswerRe: markquee in c# Pin
help as an alias8-Aug-07 23:03
help as an alias8-Aug-07 23:03 
GeneralRe: markquee in c# Pin
monuSaini8-Aug-07 23:06
monuSaini8-Aug-07 23:06 
GeneralRe: markquee in c# Pin
help as an alias8-Aug-07 23:09
help as an alias8-Aug-07 23:09 
GeneralRe: markquee in c# Pin
monuSaini8-Aug-07 23:15
monuSaini8-Aug-07 23:15 
GeneralRe: markquee in c# Pin
help as an alias8-Aug-07 23:35
help as an alias8-Aug-07 23:35 
GeneralRe: markquee in c# Pin
Christian Graus8-Aug-07 23:37
protectorChristian Graus8-Aug-07 23:37 
GeneralRe: markquee in c# Pin
help as an alias8-Aug-07 23:39
help as an alias8-Aug-07 23:39 
GeneralRe: markquee in c# Pin
Christian Graus8-Aug-07 23:41
protectorChristian Graus8-Aug-07 23:41 
GeneralRe: markquee in c# Pin
help as an alias8-Aug-07 23:43
help as an alias8-Aug-07 23:43 
GeneralRe: markquee in c# Pin
Christian Graus8-Aug-07 23:54
protectorChristian Graus8-Aug-07 23:54 
GeneralRe: markquee in c# Pin
Talal Sultan9-Aug-07 0:17
Talal Sultan9-Aug-07 0:17 
GeneralRe: markquee in c# Pin
Colin Angus Mackay9-Aug-07 0:59
Colin Angus Mackay9-Aug-07 0:59 
GeneralRe: markquee in c# Pin
Talal Sultan9-Aug-07 2:21
Talal Sultan9-Aug-07 2:21 
GeneralRe: markquee in c# Pin
Manas Bhardwaj8-Aug-07 23:42
professionalManas Bhardwaj8-Aug-07 23:42 
JokeRe: markquee in c# Pin
Luc Pattyn9-Aug-07 0:44
sitebuilderLuc Pattyn9-Aug-07 0:44 
GeneralRe: markquee in c# Pin
Bradml9-Aug-07 1:08
Bradml9-Aug-07 1:08 
GeneralRe: markquee in c# Pin
Christian Graus9-Aug-07 1:25
protectorChristian Graus9-Aug-07 1:25 
GeneralRe: markquee in c# Pin
monuSaini8-Aug-07 23:56
monuSaini8-Aug-07 23:56 
GeneralRe: markquee in c# Pin
Christian Graus9-Aug-07 0:10
protectorChristian Graus9-Aug-07 0:10 
GeneralRe: markquee in c# Pin
help as an alias9-Aug-07 0:23
help as an alias9-Aug-07 0:23 
GeneralRe: markquee in c# Pin
Christian Graus9-Aug-07 0:29
protectorChristian Graus9-Aug-07 0:29 
GeneralRe: markquee in c# Pin
help as an alias9-Aug-07 0:33
help as an alias9-Aug-07 0:33 
AnswerRe: markquee in c# Pin
Christian Graus8-Aug-07 23:40
protectorChristian Graus8-Aug-07 23:40 
You're new in C#, and you're writing a stock application ? I assume this is for a class.

The advice you've been given is vaguely on the right track. You should create a label control which draws itself in the marquee fashion. It can draw it's text using an offset, or just shuffle the string it shows ( move a letter at a time ). You set the positions within a timer, so you have a chance to see each one, and you need to call Invalidate() each time, if you draw it yourself.

The code you were given isn't going to do anything useful, but it has got a rough idea right, that you need to change the location of text so it will move

Christian Graus - Microsoft MVP - C++

"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

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.