Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
GeneralRe: calculate elapsed seconds Pin
Luc Pattyn12-Apr-08 7:21
sitebuilderLuc Pattyn12-Apr-08 7:21 
GeneralRe: calculate elapsed seconds Pin
George_George12-Apr-08 20:13
George_George12-Apr-08 20:13 
GeneralRe: calculate elapsed seconds Pin
PIEBALDconsult13-Apr-08 5:39
mvePIEBALDconsult13-Apr-08 5:39 
GeneralRe: calculate elapsed seconds Pin
George_George13-Apr-08 17:54
George_George13-Apr-08 17:54 
GeneralRe: calculate elapsed seconds Pin
PIEBALDconsult13-Apr-08 18:31
mvePIEBALDconsult13-Apr-08 18:31 
GeneralRe: calculate elapsed seconds Pin
George_George14-Apr-08 2:57
George_George14-Apr-08 2:57 
GeneralInverted text on image Pin
Kir Birger12-Apr-08 4:30
Kir Birger12-Apr-08 4:30 
GeneralRe: Inverted text on image [modified] Pin
Anthony Mushrow12-Apr-08 4:45
professionalAnthony Mushrow12-Apr-08 4:45 
Im not entirely certain that would be very readable either, with the changing colour and whatnot. What about an outline around the text?

EDIT: But, if you want inverted text, then how about:

ImageOne - original image
ImageTwo - empty image with same dimensions as ImageOne, white background
ImageThree - Duplicate of ImageOne

Step one:
Draw Text to ImageTwo in black

Step two:
Invert the colour of ImageThree

Step three:
Read the colour of each pixel in ImageTwo.
If the colour is WHITE, then set the same pixel in ImageThree to bright pink or something (255,0,255)

Step four:
Set the transparency key of ImageThree to the same colour as before (in this case, [255,0,255])

Step five:
Draw ImageThree on to ImageOne

My current favourite word is: Bacon!
-SK Genius


modified on Saturday, April 12, 2008 11:02 AM

GeneralA question about web browser control. Pin
bg198712-Apr-08 3:58
bg198712-Apr-08 3:58 
GeneralRe: A question about web browser control. Pin
Anthony Mushrow12-Apr-08 4:42
professionalAnthony Mushrow12-Apr-08 4:42 
GeneralRe: A question about web browser control. Pin
bg198712-Apr-08 5:15
bg198712-Apr-08 5:15 
GeneralRe: A question about web browser control. Pin
Anthony Mushrow12-Apr-08 5:23
professionalAnthony Mushrow12-Apr-08 5:23 
GeneralRe: A question about web browser control. Pin
bg198712-Apr-08 5:45
bg198712-Apr-08 5:45 
GeneralDrag and Drop Pin
Ian Uy12-Apr-08 2:26
Ian Uy12-Apr-08 2:26 
GeneralRe: Drag and Drop Pin
Ian Uy12-Apr-08 2:29
Ian Uy12-Apr-08 2:29 
GeneralRe: Drag and Drop Pin
Anthony Mushrow12-Apr-08 2:33
professionalAnthony Mushrow12-Apr-08 2:33 
QuestionAsteriskIAXClientWrapper Pin
asma_pfe11-Apr-08 23:21
asma_pfe11-Apr-08 23:21 
GeneralRe: AsteriskIAXClientWrapper Pin
Christian Graus12-Apr-08 0:32
protectorChristian Graus12-Apr-08 0:32 
GeneralRe: AsteriskIAXClientWrapper Pin
asma_pfe12-Apr-08 2:35
asma_pfe12-Apr-08 2:35 
GeneralRe: AsteriskIAXClientWrapper Pin
N a v a n e e t h12-Apr-08 2:39
N a v a n e e t h12-Apr-08 2:39 
Generalmakecert --- read from it, then extract private/public key? [modified] Pin
devvvy11-Apr-08 22:14
devvvy11-Apr-08 22:14 
QuestionHow to Add Web Reference in Windows application .NET Framework 3.5. Pin
ravindrapratapsingh11-Apr-08 20:41
ravindrapratapsingh11-Apr-08 20:41 
AnswerRe: How to Add Web Reference in Windows application .NET Framework 3.5. Pin
Christian Graus11-Apr-08 22:26
protectorChristian Graus11-Apr-08 22:26 
GeneralAdd Activex control Pin
Sushma K11-Apr-08 19:02
Sushma K11-Apr-08 19:02 
GeneralRe: Add Activex control Pin
Christian Graus11-Apr-08 22:27
protectorChristian Graus11-Apr-08 22:27 

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.