Click here to Skip to main content
15,910,234 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: enteries in add remove program Pin
nisha000006-Aug-08 2:24
nisha000006-Aug-08 2:24 
GeneralRe: enteries in add remove program Pin
toxcct6-Aug-08 2:35
toxcct6-Aug-08 2:35 
AnswerRe: enteries in add remove program Pin
_AnsHUMAN_ 6-Aug-08 2:46
_AnsHUMAN_ 6-Aug-08 2:46 
GeneralRe: enteries in add remove program Pin
nisha000006-Aug-08 2:57
nisha000006-Aug-08 2:57 
QuestionXP Styles in Visual Studio 2003 Pin
__DanC__6-Aug-08 1:04
__DanC__6-Aug-08 1:04 
AnswerRe: XP Styles in Visual Studio 2003 Pin
Sarath C6-Aug-08 1:29
Sarath C6-Aug-08 1:29 
GeneralRe: XP Styles in Visual Studio 2003 Pin
__DanC__6-Aug-08 23:45
__DanC__6-Aug-08 23:45 
QuestionRGB differences Windows 2000 vs XP Pin
kildareflare6-Aug-08 1:04
kildareflare6-Aug-08 1:04 
Hello All

I've come across a strange (or perhaps not!) problem regarding the display of colours on the screen.

I have an application that is used on mutlitple platforms, 2000 and XP being the two I have been able to test to date.

In this application I change the colour of a button (by subclassing the CButton class) to indicate a warning state and then revert it back to the normal colour when the warning stae has passed. I do this ussing an RGB item:

<br />
pDC->FillSolidRect(rect, RGB(236, 233, 216)); <br />


This is the RGB value for the normal Windows "Form Grey", which I used a colour picker application to obtain. This is the colour of the rest of the form. Thus what im aiming to achieve by setting the button to this value is have its colour the same as the rest of the form.

The problem is that this appears a lot brighter on a 2000 platform - so the button is a different colour.

Using the same colour picker on the 2000 machine. The colour of the form is given as

RGB(212, 208, 200)

Any ideas why...?
AnswerRe: RGB differences Windows 2000 vs XP Pin
_AnsHUMAN_ 6-Aug-08 1:39
_AnsHUMAN_ 6-Aug-08 1:39 
GeneralRe: RGB differences Windows 2000 vs XP Pin
kildareflare6-Aug-08 2:21
kildareflare6-Aug-08 2:21 
GeneralRe: RGB differences Windows 2000 vs XP Pin
kildareflare6-Aug-08 4:08
kildareflare6-Aug-08 4:08 
QuestionVC7 libs on VC8 Pin
vikramlinux6-Aug-08 0:54
vikramlinux6-Aug-08 0:54 
AnswerRe: VC7 libs on VC8 Pin
Chris Losinger6-Aug-08 13:35
professionalChris Losinger6-Aug-08 13:35 
QuestionCritical section failed! Pin
SRKSHOME6-Aug-08 0:29
SRKSHOME6-Aug-08 0:29 
AnswerRe: Critical section failed! Pin
SandipG 6-Aug-08 0:37
SandipG 6-Aug-08 0:37 
GeneralRe: Critical section failed! Pin
SRKSHOME6-Aug-08 1:30
SRKSHOME6-Aug-08 1:30 
GeneralRe: Critical section failed! Pin
SandipG 6-Aug-08 1:36
SandipG 6-Aug-08 1:36 
QuestionHow to change a single toolbar icon at runtime? Pin
madmax00015-Aug-08 23:54
madmax00015-Aug-08 23:54 
AnswerRe: How to change a single toolbar icon at runtime? Pin
Sarath C6-Aug-08 0:12
Sarath C6-Aug-08 0:12 
Questionmerge proxy/stub code in ATL server Pin
George_George5-Aug-08 23:46
George_George5-Aug-08 23:46 
QuestionRe: merge proxy/stub code in ATL server Pin
led mike6-Aug-08 4:32
led mike6-Aug-08 4:32 
AnswerRe: merge proxy/stub code in ATL server Pin
George_George6-Aug-08 19:40
George_George6-Aug-08 19:40 
GeneralRe: merge proxy/stub code in ATL server Pin
led mike7-Aug-08 7:13
led mike7-Aug-08 7:13 
GeneralRe: merge proxy/stub code in ATL server Pin
George_George8-Aug-08 23:30
George_George8-Aug-08 23:30 
QuestionHow to loop through a directory Pin
santhoshv845-Aug-08 23:40
santhoshv845-Aug-08 23:40 

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.