Click here to Skip to main content
15,911,141 members
Home / Discussions / C#
   

C#

 
GeneralRe: Thread Safety??? Pin
Dustin Metzgar19-Jul-06 13:45
Dustin Metzgar19-Jul-06 13:45 
AnswerGot the actual problem!!! Pin
RizwanSharp19-Jul-06 21:43
RizwanSharp19-Jul-06 21:43 
GeneralRe: Got the actual problem!!! Pin
Dustin Metzgar20-Jul-06 5:23
Dustin Metzgar20-Jul-06 5:23 
GeneralSolved ;) Pin
RizwanSharp20-Jul-06 5:33
RizwanSharp20-Jul-06 5:33 
QuestionHow to get some special Windows colors? Pin
NPowDev19-Jul-06 7:25
NPowDev19-Jul-06 7:25 
AnswerRe: How to get some special Windows colors? Pin
Judah Gabriel Himango19-Jul-06 7:29
sponsorJudah Gabriel Himango19-Jul-06 7:29 
Generaland System.Drawing.SystemColors Pin
Ennis Ray Lynch, Jr.19-Jul-06 8:35
Ennis Ray Lynch, Jr.19-Jul-06 8:35 
GeneralRe: How to get some special Windows colors? Pin
NPowDev19-Jul-06 12:06
NPowDev19-Jul-06 12:06 
Thanks for the fast replay!

Well... System.Windows.Forms.VisualStyles is not a choice for me at the moment; The OS does not support them... I'm working on W2k and my control should work here too.

Judah Himango wrote:
One class you might want to look at is the System.Windows.Forms.ControlPaint class.


I'm very skeptical about it. At the framework reference, they say for example on the Dark() method:

...
If the specified Color is one of the SystemColors, the color is converted to a SystemColors.ControlDark color; otherwise, the color's luminosity value is decreased.
...


So that is the problem, SystemColors.ControlDark or SystemColors.ControlDarkDark do not return a color as the ones that the original control use.

Well, I will have to give it a try... tomorrow. Smile | :)

Regards,
NPow
GeneralRe: How to get some special Windows colors? Pin
Judah Gabriel Himango19-Jul-06 17:14
sponsorJudah Gabriel Himango19-Jul-06 17:14 
GeneralRe: How to get some special Windows colors? [modified] Pin
NPowDev20-Jul-06 1:45
NPowDev20-Jul-06 1:45 
GeneralRe: How to get some special Windows colors? Pin
Judah Gabriel Himango20-Jul-06 4:36
sponsorJudah Gabriel Himango20-Jul-06 4:36 
Questionerror Pin
TAREQ F ABUZUHRI19-Jul-06 7:04
TAREQ F ABUZUHRI19-Jul-06 7:04 
AnswerRe: error Pin
Judah Gabriel Himango19-Jul-06 7:12
sponsorJudah Gabriel Himango19-Jul-06 7:12 
QuestionAdd attributes to XML doc [modified] Pin
VK-Cadec19-Jul-06 6:47
VK-Cadec19-Jul-06 6:47 
AnswerRe: Add attributes to XML doc Pin
stancrm19-Jul-06 7:21
stancrm19-Jul-06 7:21 
GeneralRe: Add attributes to XML doc Pin
VK-Cadec19-Jul-06 7:26
VK-Cadec19-Jul-06 7:26 
GeneralRe: Add attributes to XML doc Pin
Rob Graham19-Jul-06 10:45
Rob Graham19-Jul-06 10:45 
QuestionApplication deep logging/traceing Pin
nemopeti19-Jul-06 6:24
nemopeti19-Jul-06 6:24 
AnswerRe: Application deep logging/traceing Pin
Judah Gabriel Himango19-Jul-06 7:16
sponsorJudah Gabriel Himango19-Jul-06 7:16 
GeneralRe: Application deep logging/traceing [modified] Pin
nemopeti19-Jul-06 10:57
nemopeti19-Jul-06 10:57 
GeneralRe: Application deep logging/traceing Pin
Alexander Wiseman19-Jul-06 11:36
Alexander Wiseman19-Jul-06 11:36 
GeneralRe: Application deep logging/traceing [modified] Pin
nemopeti19-Jul-06 11:54
nemopeti19-Jul-06 11:54 
QuestionStatus bar's progress bar Pin
Elvis_Pretzelator19-Jul-06 5:27
Elvis_Pretzelator19-Jul-06 5:27 
AnswerRe: Status bar's progress bar Pin
Not Active19-Jul-06 5:37
mentorNot Active19-Jul-06 5:37 
AnswerRe: Status bar's progress bar Pin
Stefan Troschuetz19-Jul-06 6:33
Stefan Troschuetz19-Jul-06 6:33 

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.