Click here to Skip to main content
15,890,282 members
Home / Discussions / C#
   

C#

 
QuestionBackground Screen Color in Console ? Pin
Mohammad Dayyan4-Aug-09 17:50
Mohammad Dayyan4-Aug-09 17:50 
AnswerRe: Background Screen Color in Console ? Pin
Abhijit Jana4-Aug-09 18:20
professionalAbhijit Jana4-Aug-09 18:20 
GeneralRe: Background Screen Color in Console ? Pin
Mohammad Dayyan4-Aug-09 21:01
Mohammad Dayyan4-Aug-09 21:01 
GeneralRe: Background Screen Color in Console ? Pin
Alan N4-Aug-09 23:42
Alan N4-Aug-09 23:42 
GeneralRe: Background Screen Color in Console ? Pin
Mohammad Dayyan4-Aug-09 23:50
Mohammad Dayyan4-Aug-09 23:50 
AnswerRe: Background Screen Color in Console ? Pin
Alan N5-Aug-09 4:12
Alan N5-Aug-09 4:12 
GeneralRe: Background Screen Color in Console ? Pin
Mohammad Dayyan5-Aug-09 20:47
Mohammad Dayyan5-Aug-09 20:47 
QuestionGetWindowRect incorrect Pin
Scalee4-Aug-09 11:25
Scalee4-Aug-09 11:25 
Hey all,

I using GetWindowRect with this struct

[StructLayout(LayoutKind.Sequential)]<br />
public struct RECT<br />
{<br />
    public int X;<br />
    public int Y;<br />
    public int Width;<br />
    public int Height; <br />
}


However the sizes returned are not correct, any clue why?

1680 x 1050 returns 1686 x 1082
1280 x 1024 returns 1291 x 1061
1440 x 900 returns 1451 x 937

Only the last 2 have the same difference.
AnswerRe: GetWindowRect incorrect Pin
Christian Graus4-Aug-09 13:22
protectorChristian Graus4-Aug-09 13:22 
AnswerRe: GetWindowRect incorrect Pin
Alan N4-Aug-09 13:54
Alan N4-Aug-09 13:54 
AnswerRe: GetWindowRect incorrect Pin
Luc Pattyn4-Aug-09 14:39
sitebuilderLuc Pattyn4-Aug-09 14:39 
AnswerRe: GetWindowRect incorrect Pin
ChicagoBobT2-Aug-10 4:24
ChicagoBobT2-Aug-10 4:24 
QuestionBulleted List: Which control to be used? Pin
DotNetXenon4-Aug-09 11:20
DotNetXenon4-Aug-09 11:20 
AnswerRe: Bulleted List: Which control to be used? Pin
Not Active4-Aug-09 13:19
mentorNot Active4-Aug-09 13:19 
GeneralRe: Bulleted List: Which control to be used? Pin
DotNetXenon5-Aug-09 6:00
DotNetXenon5-Aug-09 6:00 
GeneralRe: Bulleted List: Which control to be used? Pin
Not Active5-Aug-09 7:05
mentorNot Active5-Aug-09 7:05 
QuestionDLL references: Console vs Windows Forms Pin
banderas204-Aug-09 11:05
banderas204-Aug-09 11:05 
AnswerRe: DLL references: Console vs Windows Forms Pin
stancrm4-Aug-09 20:28
stancrm4-Aug-09 20:28 
GeneralRe: DLL references: Console vs Windows Forms Pin
banderas204-Aug-09 21:28
banderas204-Aug-09 21:28 
QuestionSimple problem with brackets [modified] Pin
Amangang4-Aug-09 10:33
Amangang4-Aug-09 10:33 
AnswerRe: Simple problem with brackets Pin
VengefulSakhmet4-Aug-09 10:53
VengefulSakhmet4-Aug-09 10:53 
QuestionRe: Simple problem with brackets Pin
Amangang4-Aug-09 22:49
Amangang4-Aug-09 22:49 
AnswerRe: Simple problem with brackets Pin
Henry Minute4-Aug-09 22:54
Henry Minute4-Aug-09 22:54 
GeneralRe: Simple problem with brackets Pin
Amangang4-Aug-09 22:59
Amangang4-Aug-09 22:59 
GeneralRe: Simple problem with brackets Pin
Amangang5-Aug-09 2:15
Amangang5-Aug-09 2:15 

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.