Click here to Skip to main content
15,895,777 members
Home / Discussions / C#
   

C#

 
GeneralRe: Source code legality question Pin
SledgeHammer0113-Apr-11 13:29
SledgeHammer0113-Apr-11 13:29 
AnswerRe: Source code legality question Pin
#realJSOP14-Apr-11 3:43
mve#realJSOP14-Apr-11 3:43 
GeneralRe: Source code legality question Pin
SledgeHammer0114-Apr-11 4:37
SledgeHammer0114-Apr-11 4:37 
AnswerRe: Source code legality question Pin
#realJSOP14-Apr-11 3:55
mve#realJSOP14-Apr-11 3:55 
QuestionContrast settings Pin
abcurl12-Apr-11 4:01
abcurl12-Apr-11 4:01 
AnswerRe: Contrast settings Pin
Pete O'Hanlon12-Apr-11 7:05
mvePete O'Hanlon12-Apr-11 7:05 
GeneralRe: Contrast settings Pin
abcurl12-Apr-11 17:37
abcurl12-Apr-11 17:37 
GeneralRe: Contrast settings Pin
DaveyM6912-Apr-11 21:20
professionalDaveyM6912-Apr-11 21:20 
No sample code but P/Invoke isn't generally particularly difficult.
The SetMonitorContrast API function is here[^]. It appears that you will need to use other functions too so the whole Monitor Configuration Functions[^] section may be of interest.

For converting the C/C++ code to C# methods there are plenty of resources around, Luc has a good article on his blog and there is the interop toolkit which is a free download that does it all for you (no fun that way but useful if you don't like to get your hands dirty!).
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



GeneralRe: Contrast settings Pin
Pete O'Hanlon12-Apr-11 21:41
mvePete O'Hanlon12-Apr-11 21:41 
QuestionWorks in one project but not another. [modified] Pin
twohowlingdogs12-Apr-11 3:45
twohowlingdogs12-Apr-11 3:45 
AnswerRe: Works in one project but not another. Pin
BobJanova12-Apr-11 3:59
BobJanova12-Apr-11 3:59 
GeneralRe: Works in one project but not another. Pin
twohowlingdogs12-Apr-11 5:23
twohowlingdogs12-Apr-11 5:23 
AnswerRe: Works in one project but not another. Pin
Eddy Vluggen12-Apr-11 8:05
professionalEddy Vluggen12-Apr-11 8:05 
GeneralRe: Works in one project but not another. Pin
twohowlingdogs12-Apr-11 8:21
twohowlingdogs12-Apr-11 8:21 
AnswerRe: Works in one project but not another. Pin
Luc Pattyn12-Apr-11 8:58
sitebuilderLuc Pattyn12-Apr-11 8:58 
Questionhow to load form with many controls Smooth on Winform ? Pin
Gali197812-Apr-11 1:57
Gali197812-Apr-11 1:57 
AnswerRe: how to load form with many controls Smooth on Winform ? Pin
Luc Pattyn12-Apr-11 2:15
sitebuilderLuc Pattyn12-Apr-11 2:15 
AnswerRe: how to load form with many controls Smooth on Winform ? Pin
gaohe812-Apr-11 3:14
gaohe812-Apr-11 3:14 
GeneralRe: how to load form with many controls Smooth on Winform ? Pin
Manfred Rudolf Bihy12-Apr-11 3:19
professionalManfred Rudolf Bihy12-Apr-11 3:19 
GeneralRe: how to load form with many controls Smooth on Winform ? Pin
wizardzz12-Apr-11 6:24
wizardzz12-Apr-11 6:24 
AnswerRe: how to load form with many controls Smooth on Winform ? Pin
Manfred Rudolf Bihy12-Apr-11 3:21
professionalManfred Rudolf Bihy12-Apr-11 3:21 
AnswerRe: how to load form with many controls Smooth on Winform ? Pin
wizardzz12-Apr-11 6:23
wizardzz12-Apr-11 6:23 
QuestionHow to check items in a Collection contains common property? Pin
John-ph12-Apr-11 0:27
John-ph12-Apr-11 0:27 
AnswerRe: How to check items in a Collection contains common property? Pin
OriginalGriff12-Apr-11 0:38
mveOriginalGriff12-Apr-11 0:38 
GeneralMessage Removed Pin
12-Apr-11 1:10
John-ph12-Apr-11 1:10 

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.