Click here to Skip to main content
15,900,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: what does "this" mean? Pin
Maximilien19-Aug-04 2:46
Maximilien19-Aug-04 2:46 
AnswerRe: what does "this" mean? Pin
V.19-Aug-04 3:34
professionalV.19-Aug-04 3:34 
AnswerRe: what does "this" mean? Pin
V.19-Aug-04 3:34
professionalV.19-Aug-04 3:34 
GeneralRe: what does "this" mean? Pin
Antony M Kancidrowski19-Aug-04 4:20
Antony M Kancidrowski19-Aug-04 4:20 
GeneralRe: what does "this" mean? Pin
V.19-Aug-04 4:44
professionalV.19-Aug-04 4:44 
GeneralRe: what does "this" mean? Pin
Michael P Butler19-Aug-04 22:03
Michael P Butler19-Aug-04 22:03 
AnswerRe: what does "this" mean? Pin
toxcct19-Aug-04 4:34
toxcct19-Aug-04 4:34 
GeneralGetSysColour & CreateBrush Pin
Member 101344319-Aug-04 1:12
Member 101344319-Aug-04 1:12 
If I use GetSysColour to get a system RGB value, then create a brush using that value and then draw a rectangle, the colour of the rectangle is different?

I'm puzzled by this, under 2000 you can see this all over the place, i.e menu bars. If you get the system colour then you get back the value C3C3C3, if you paint to the screen with this colour you get C6C3C3, you can verify this by reading back the pixel.

I've only noticed this because I'm implementing a VS.NET style gui and I couldn't figure out the luminance values, once I'd realised that the colours are actually different to what you request it all fell into place.

Adrian
GeneralProblem with CRecordset/CDatabase Pin
Joerg Warthemann19-Aug-04 0:54
Joerg Warthemann19-Aug-04 0:54 
GeneralRe: Problem with CRecordset/CDatabase Pin
John M. Drescher19-Aug-04 2:00
John M. Drescher19-Aug-04 2:00 
GeneralRe: Problem with CRecordset/CDatabase Pin
Joerg Warthemann19-Aug-04 6:56
Joerg Warthemann19-Aug-04 6:56 
GeneralRe: Problem with CRecordset/CDatabase Pin
John M. Drescher19-Aug-04 7:01
John M. Drescher19-Aug-04 7:01 
GeneralRe: Problem with CRecordset/CDatabase Pin
BlackDice19-Aug-04 10:16
BlackDice19-Aug-04 10:16 
GeneralRe: Problem with CRecordset/CDatabase Pin
Anonymous22-Aug-04 8:41
Anonymous22-Aug-04 8:41 
GeneralEval Copy Pin
shiraztk19-Aug-04 0:37
shiraztk19-Aug-04 0:37 
GeneralRe: Eval Copy Pin
Antti Keskinen19-Aug-04 1:03
Antti Keskinen19-Aug-04 1:03 
GeneralRe: Eval Copy Pin
shiraztk19-Aug-04 1:53
shiraztk19-Aug-04 1:53 
GeneralRe: Eval Copy Pin
John M. Drescher19-Aug-04 2:08
John M. Drescher19-Aug-04 2:08 
GeneralRe: Eval Copy Pin
shiraztk19-Aug-04 2:55
shiraztk19-Aug-04 2:55 
GeneralRe: Eval Copy Pin
John M. Drescher19-Aug-04 4:53
John M. Drescher19-Aug-04 4:53 
GeneralRe: Eval Copy Pin
gamitech19-Aug-04 11:29
gamitech19-Aug-04 11:29 
GeneralRe: Eval Copy Pin
shiraztk19-Aug-04 20:12
shiraztk19-Aug-04 20:12 
GeneralIUnknown casting Pin
RChin19-Aug-04 0:34
RChin19-Aug-04 0:34 
GeneralRe: IUnknown casting Pin
Antti Keskinen19-Aug-04 0:55
Antti Keskinen19-Aug-04 0:55 
GeneralRe: IUnknown casting Pin
RChin19-Aug-04 1:16
RChin19-Aug-04 1:16 

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.