Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCSliderCtrl - dotted focus rect Pin
AJ12320-Dec-05 7:32
AJ12320-Dec-05 7:32 
AnswerRe: CSliderCtrl - dotted focus rect Pin
0verflow14-Oct-12 20:21
0verflow14-Oct-12 20:21 
QuestionHome-grown tooltip window Pin
#realJSOP20-Dec-05 7:14
mve#realJSOP20-Dec-05 7:14 
AnswerRe: Home-grown tooltip window Pin
PJ Arends20-Dec-05 7:36
professionalPJ Arends20-Dec-05 7:36 
QuestionGetSysColor Weirdness Pin
#realJSOP20-Dec-05 6:59
mve#realJSOP20-Dec-05 6:59 
AnswerRe: GetSysColor Weirdness Pin
Jack Puppy20-Dec-05 7:20
Jack Puppy20-Dec-05 7:20 
GeneralRe: GetSysColor Weirdness Pin
#realJSOP20-Dec-05 7:58
mve#realJSOP20-Dec-05 7:58 
GeneralRe: GetSysColor Weirdness Pin
PJ Arends20-Dec-05 8:15
professionalPJ Arends20-Dec-05 8:15 
John Simmons / outlaw programmer wrote:
i think i can be pretty sure that function will work.


One would think that GetSysColor would work too, but in your case it appears to not be. GetSysColorBrush will return NULL on error, where as GetSysColor does not have a reliable error check mechanism. Also if GetSysColorBrush(COLOR_INFOBK) also returns a white brush then your system settings may not be what you think they are.



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" - mYkel - 21 Jun '04

"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05

Within you lies the power for good - Use it!
GeneralRe: GetSysColor Weirdness Pin
#realJSOP20-Dec-05 10:37
mve#realJSOP20-Dec-05 10:37 
QuestionCTreeCtrl Pin
Ivan Cachicatari20-Dec-05 6:39
Ivan Cachicatari20-Dec-05 6:39 
AnswerRe: CTreeCtrl Pin
RChin20-Dec-05 9:54
RChin20-Dec-05 9:54 
AnswerRe: CTreeCtrl Pin
Jack Puppy20-Dec-05 10:46
Jack Puppy20-Dec-05 10:46 
GeneralRe: CTreeCtrl Pin
Ivan Cachicatari26-Dec-05 8:26
Ivan Cachicatari26-Dec-05 8:26 
Questionto find and close empty word document out of many instances of word document Pin
anku12320-Dec-05 6:23
anku12320-Dec-05 6:23 
QuestionFunction to find out what files there are in a folder? Pin
KevinSheedy20-Dec-05 5:11
KevinSheedy20-Dec-05 5:11 
AnswerRe: Function to find out what files there are in a folder? Pin
Chris Losinger20-Dec-05 5:27
professionalChris Losinger20-Dec-05 5:27 
AnswerRe: Function to find out what files there are in a folder? Pin
David Crow20-Dec-05 10:18
David Crow20-Dec-05 10:18 
AnswerRe: Function to find out what files there are in a folder? Pin
ThatsAlok20-Dec-05 22:20
ThatsAlok20-Dec-05 22:20 
Questiondisplaying Bytes in hex format Pin
bachirzantou20-Dec-05 4:55
bachirzantou20-Dec-05 4:55 
AnswerRe: displaying Bytes in hex format Pin
Chris Losinger20-Dec-05 5:06
professionalChris Losinger20-Dec-05 5:06 
GeneralRe: displaying Bytes in hex format Pin
PJ Arends20-Dec-05 7:29
professionalPJ Arends20-Dec-05 7:29 
GeneralRe: displaying Bytes in hex format Pin
Chris Losinger20-Dec-05 7:34
professionalChris Losinger20-Dec-05 7:34 
GeneralRe: displaying Bytes in hex format Pin
bachirzantou21-Dec-05 0:47
bachirzantou21-Dec-05 0:47 
GeneralRe: displaying Bytes in hex format Pin
bachirzantou21-Dec-05 3:49
bachirzantou21-Dec-05 3:49 
AnswerRe: displaying Bytes in hex format Pin
Michael Dunn20-Dec-05 18:27
sitebuilderMichael Dunn20-Dec-05 18:27 

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.