Click here to Skip to main content
15,923,083 members
Home / Discussions / C#
   

C#

 
AnswerRe: Get last copied/moved file ? Pin
Abhijit Jana1-Jul-08 7:04
professionalAbhijit Jana1-Jul-08 7:04 
GeneralRe: Get last copied/moved file ? Pin
Xmen Real 1-Jul-08 7:06
professional Xmen Real 1-Jul-08 7:06 
GeneralRe: Get last copied/moved file ? Pin
Abhijit Jana1-Jul-08 7:18
professionalAbhijit Jana1-Jul-08 7:18 
GeneralRe: Get last copied/moved file ? Pin
Xmen Real 1-Jul-08 7:24
professional Xmen Real 1-Jul-08 7:24 
GeneralRe: Get last copied/moved file ? Pin
Abhijit Jana1-Jul-08 7:26
professionalAbhijit Jana1-Jul-08 7:26 
GeneralRe: Get last copied/moved file ? Pin
Xmen Real 1-Jul-08 7:34
professional Xmen Real 1-Jul-08 7:34 
Questionadding xmlnode with childs Pin
manoj221841-Jul-08 6:27
manoj221841-Jul-08 6:27 
QuestionGraphics.DrawString() drawing text with multiple colors Pin
shultas1-Jul-08 6:12
shultas1-Jul-08 6:12 
Hi everyone.

I am working on a project where I am scrolling text across the screen that identifies an image, along with the time. "New York, NY - 5:00AM". I have the drawing and scrolling down pat. I am using a graphics object and using drawstring in my custom OnPaint() event. The problem is that I need to have the time in a different color. ("New York, NY -" will be in black, where "5:00AM" will be in yellow). I am not sure how to go about doing this. I was not sure if one DrawString() could have multiple colors embedded in it, or if I need to have two DrawStrings with the X offset just right. If I do have to do the latter method, can you point me in the direction of figuring out where that X Start Position should be based on a given string (ie, if I start drawing the text "New York, NY" at x position 600, how do I know what X position I should begin to start drawing the 05:00AM text? This is where I am at a loss and any help would be appreciated big time.

Thanks!
AnswerRe: Graphics.DrawString() drawing text with multiple colors Pin
Luc Pattyn1-Jul-08 6:46
sitebuilderLuc Pattyn1-Jul-08 6:46 
QuestionCustom Receive Pipeline Stream. Pin
Art_Wood1-Jul-08 5:56
Art_Wood1-Jul-08 5:56 
Questionwindows vista or xp pro Pin
arkiboys1-Jul-08 5:44
arkiboys1-Jul-08 5:44 
AnswerRe: windows vista or xp pro Pin
Xmen Real 1-Jul-08 5:46
professional Xmen Real 1-Jul-08 5:46 
GeneralRe: windows vista or xp pro Pin
arkiboys1-Jul-08 5:54
arkiboys1-Jul-08 5:54 
GeneralRe: windows vista or xp pro Pin
Xmen Real 1-Jul-08 6:18
professional Xmen Real 1-Jul-08 6:18 
GeneralRe: windows vista or xp pro Pin
Kenny McKee1-Jul-08 7:26
Kenny McKee1-Jul-08 7:26 
GeneralRe: windows vista or xp pro Pin
Xmen Real 1-Jul-08 7:34
professional Xmen Real 1-Jul-08 7:34 
GeneralRe: windows vista or xp pro Pin
Kenny McKee1-Jul-08 14:16
Kenny McKee1-Jul-08 14:16 
AnswerRe: windows vista or xp pro Pin
Kjetil Svendsen1-Jul-08 9:54
Kjetil Svendsen1-Jul-08 9:54 
GeneralRe: windows vista or xp pro Pin
arkiboys1-Jul-08 22:18
arkiboys1-Jul-08 22:18 
QuestionHow could it be Sending & Receiving Object of user class through Socket ? Pin
MehmetFurkan1-Jul-08 5:22
MehmetFurkan1-Jul-08 5:22 
QuestionInstallShield not registering a dll Pin
Russell Jones1-Jul-08 4:36
Russell Jones1-Jul-08 4:36 
AnswerRe: InstallShield not registering a dll Pin
leppie1-Jul-08 4:53
leppie1-Jul-08 4:53 
AnswerRe: InstallShield not registering a dll Pin
led mike1-Jul-08 4:54
led mike1-Jul-08 4:54 
GeneralRe: InstallShield not registering a dll Pin
Russell Jones1-Jul-08 5:01
Russell Jones1-Jul-08 5:01 
GeneralRe: InstallShield not registering a dll Pin
led mike1-Jul-08 7:38
led mike1-Jul-08 7:38 

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.