Click here to Skip to main content
15,915,328 members
Home / Discussions / C#
   

C#

 
GeneralRe: Detecting music keys from keyboard in winform app Pin
Saksida Bojan5-Jan-10 6:09
Saksida Bojan5-Jan-10 6:09 
QuestionOutlookAddin Pin
Md. Marufuzzaman5-Jan-10 1:31
professionalMd. Marufuzzaman5-Jan-10 1:31 
QuestionHow validate c# DataGridView Cell to accept only Alphabet characters upper, lower and Numeric Pin
Member 11161155-Jan-10 0:33
Member 11161155-Jan-10 0:33 
QuestionFaster Pin
sanforjackass5-Jan-10 0:28
sanforjackass5-Jan-10 0:28 
AnswerRe: Faster [modified] Pin
Saksida Bojan5-Jan-10 2:01
Saksida Bojan5-Jan-10 2:01 
AnswerRe: Faster Pin
Rob Philpott5-Jan-10 2:12
Rob Philpott5-Jan-10 2:12 
GeneralRe: Faster Pin
harold aptroot5-Jan-10 3:32
harold aptroot5-Jan-10 3:32 
QuestionProper way to determine the colors of controls? Pin
arnold_w5-Jan-10 0:20
arnold_w5-Jan-10 0:20 
Sometimes I need to determine the color of different controls. I give a couple a of examples. In a MessageBox I needed a custom made gif-icon and I wanted the background color of the icon to match the color of the MessageBox itself. In another project I wanted to get rid of the little sort-array in the header of a DataGridView and to do that I had to override the Paint-method and paint the arrow with the background color. To determine the colors in these two examples I did a print screen and pasted the screen dump into Paint and used the color picker to get the RGB-values. This works fine on most computer, but I have noticed that on some computers (depending on operating system and other things) the gray color is not the same as on my computer. Something tells me there must be a way to query the color to use instead of determining it by hand and then hardcoding it. How do I do this?
AnswerRe: Proper way to determine the colors of controls? Pin
petercrab5-Jan-10 0:32
petercrab5-Jan-10 0:32 
GeneralRe: Proper way to determine the colors of controls? Pin
arnold_w5-Jan-10 0:36
arnold_w5-Jan-10 0:36 
GeneralRe: Proper way to determine the colors of controls? Pin
Saksida Bojan5-Jan-10 1:54
Saksida Bojan5-Jan-10 1:54 
GeneralRe: Proper way to determine the colors of controls? Pin
arnold_w5-Jan-10 2:56
arnold_w5-Jan-10 2:56 
GeneralRe: Proper way to determine the colors of controls? [modified] Pin
Saksida Bojan5-Jan-10 4:51
Saksida Bojan5-Jan-10 4:51 
AnswerRe: Proper way to determine the colors of controls? Pin
Saksida Bojan5-Jan-10 1:56
Saksida Bojan5-Jan-10 1:56 
GeneralRe: Proper way to determine the colors of controls? Pin
arnold_w5-Jan-10 2:04
arnold_w5-Jan-10 2:04 
GeneralRe: Proper way to determine the colors of controls? Pin
Saksida Bojan5-Jan-10 4:41
Saksida Bojan5-Jan-10 4:41 
GeneralRe: Proper way to determine the colors of controls? Pin
arnold_w5-Jan-10 21:30
arnold_w5-Jan-10 21:30 
QuestionAdd-in is not executing. Pin
SRKSHOME4-Jan-10 23:24
SRKSHOME4-Jan-10 23:24 
Questionc# windows application Pin
naghoumeh144-Jan-10 22:52
naghoumeh144-Jan-10 22:52 
AnswerRe: c# windows application Pin
OriginalGriff4-Jan-10 23:08
mveOriginalGriff4-Jan-10 23:08 
GeneralRe: c# windows application Pin
naghoumeh144-Jan-10 23:21
naghoumeh144-Jan-10 23:21 
GeneralRe: c# windows application Pin
OriginalGriff4-Jan-10 23:38
mveOriginalGriff4-Jan-10 23:38 
GeneralRe: c# windows application Pin
naghoumeh144-Jan-10 23:46
naghoumeh144-Jan-10 23:46 
GeneralRe: c# windows application Pin
OriginalGriff5-Jan-10 0:00
mveOriginalGriff5-Jan-10 0:00 
AnswerRe: c# windows application Pin
Programm3r4-Jan-10 23:12
Programm3r4-Jan-10 23:12 

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.