Click here to Skip to main content
15,913,669 members
Home / Discussions / C#
   

C#

 
QuestionProblem with 2 forms Pin
mcaos3-Jul-07 6:09
professionalmcaos3-Jul-07 6:09 
AnswerRe: Problem with 2 forms Pin
Luc Pattyn3-Jul-07 6:30
sitebuilderLuc Pattyn3-Jul-07 6:30 
GeneralRe: Problem with 2 forms Pin
mcaos4-Jul-07 0:16
professionalmcaos4-Jul-07 0:16 
GeneralRe: Problem with 2 forms Pin
Luc Pattyn4-Jul-07 0:29
sitebuilderLuc Pattyn4-Jul-07 0:29 
AnswerRe: Problem with 2 forms Pin
thrakazog3-Jul-07 7:37
thrakazog3-Jul-07 7:37 
QuestionContrast solutions for drawing text and lines onto an image Pin
Jon Hulatt3-Jul-07 5:07
Jon Hulatt3-Jul-07 5:07 
AnswerRe: Contrast solutions for drawing text and lines onto an image Pin
Dario Solera3-Jul-07 7:16
Dario Solera3-Jul-07 7:16 
AnswerRe: Contrast solutions for drawing text and lines onto an image Pin
Luc Pattyn3-Jul-07 7:31
sitebuilderLuc Pattyn3-Jul-07 7:31 
Hi,

I know of no general solution. Here are some ideas though:

- for lines, one could draw two parallel lines in different colors
- for text, use a heavy font (either bold or black) and make it sufficiently large
- or for text, draw text twice, same font, same size, slightly offset (x+2, y+2)
using different colors
- smart color selection: built a histogram on your image (pick 100 pixels, convert them
to hue value, and now choose a color with the opposite hue = add 180 degrees, full
saturation, full brightness (unless histogram shows image is bright, then use black).
- on a display, use blinking (500 msec on/off)
- on a display, let the added info be drawn differently (other color, wider, ...)
while the user holds down CTRL key

Hope this helps

Smile | :)




QuestionSuppress "CAPS Lock is ON" warning in Windows XP Pin
Subrahmanyam K3-Jul-07 4:52
Subrahmanyam K3-Jul-07 4:52 
AnswerRe: Suppress "CAPS Lock is ON" warning in Windows XP Pin
Dario Solera3-Jul-07 7:08
Dario Solera3-Jul-07 7:08 
QuestionReading a Bitmap in Unsafe vs InteropServices.Marshall Pin
PhilDanger3-Jul-07 4:40
PhilDanger3-Jul-07 4:40 
AnswerRe: Reading a Bitmap in Unsafe vs InteropServices.Marshall Pin
Jon Hulatt3-Jul-07 5:31
Jon Hulatt3-Jul-07 5:31 
GeneralRe: Reading a Bitmap in Unsafe vs InteropServices.Marshall Pin
PhilDanger3-Jul-07 5:53
PhilDanger3-Jul-07 5:53 
GeneralRe: Reading a Bitmap in Unsafe vs InteropServices.Marshall Pin
Luc Pattyn3-Jul-07 6:35
sitebuilderLuc Pattyn3-Jul-07 6:35 
QuestionReading a remote mp3 file for file size and length Pin
mfmaneef3-Jul-07 4:25
mfmaneef3-Jul-07 4:25 
AnswerRe: Reading a remote mp3 file for file size and length Pin
Judah Gabriel Himango3-Jul-07 5:20
sponsorJudah Gabriel Himango3-Jul-07 5:20 
GeneralRe: Reading a remote mp3 file for file size and length Pin
mfmaneef3-Jul-07 5:31
mfmaneef3-Jul-07 5:31 
GeneralRe: Reading a remote mp3 file for file size and length Pin
Judah Gabriel Himango3-Jul-07 5:47
sponsorJudah Gabriel Himango3-Jul-07 5:47 
GeneralRe: Reading a remote mp3 file for file size and length Pin
mfmaneef3-Jul-07 6:28
mfmaneef3-Jul-07 6:28 
GeneralRe: Reading a remote mp3 file for file size and length Pin
Judah Gabriel Himango3-Jul-07 9:05
sponsorJudah Gabriel Himango3-Jul-07 9:05 
QuestionCompilation Error with Resource strings Pin
jayart3-Jul-07 3:46
jayart3-Jul-07 3:46 
AnswerRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 4:33
sponsorJudah Gabriel Himango3-Jul-07 4:33 
GeneralRe: Compilation Error with Resource strings Pin
jayart3-Jul-07 4:40
jayart3-Jul-07 4:40 
GeneralRe: Compilation Error with Resource strings Pin
Judah Gabriel Himango3-Jul-07 5:19
sponsorJudah Gabriel Himango3-Jul-07 5:19 
GeneralRe: Compilation Error with Resource strings Pin
jayart3-Jul-07 5:29
jayart3-Jul-07 5:29 

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.