Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: float and double data type Pin
shir_k11-Oct-07 0:00
shir_k11-Oct-07 0:00 
GeneralRe: float and double data type Pin
CPallini11-Oct-07 0:15
mveCPallini11-Oct-07 0:15 
GeneralRe: float and double data type Pin
shir_k11-Oct-07 2:17
shir_k11-Oct-07 2:17 
QuestionChanging dialog color Pin
josip cagalj10-Oct-07 23:21
josip cagalj10-Oct-07 23:21 
AnswerRe: Changing dialog color Pin
Nishad S10-Oct-07 23:26
Nishad S10-Oct-07 23:26 
GeneralRe: Changing dialog color Pin
josip cagalj10-Oct-07 23:47
josip cagalj10-Oct-07 23:47 
GeneralRe: Changing dialog color Pin
Nishad S11-Oct-07 0:28
Nishad S11-Oct-07 0:28 
GeneralRe: Changing dialog color Pin
Matthew Faithfull10-Oct-07 23:34
Matthew Faithfull10-Oct-07 23:34 
Not 100% sure as it's 2 years since I wrote GDI wrappers but I think SetDCBrushColor is that wierd API that is documented everywhere but doesn't exist/work anywhere, at least pre-Vista. I'm sure Google will confirm or deny this pretty quickly, it's worth a check. If memory serves there is an alternative possibly Ex variant which works at least in XP.

DC_BRUSH is defined in WinGDI.h iff _WIN32_WINNT >= 0x0500 so you need to be building for Windows 2000 or later to use it and linking to gdi32.lib of course.

Nothing is exactly what it seems but everything with seems can be unpicked.

AnswerRe: Changing dialog color Pin
Priya_Sundar11-Oct-07 0:03
Priya_Sundar11-Oct-07 0:03 
Questionhow to check programatically if a table exists or not Pin
santhi_malli10-Oct-07 23:19
santhi_malli10-Oct-07 23:19 
AnswerRe: how to check programatically if a table exists or not Pin
ThatsAlok11-Oct-07 3:23
ThatsAlok11-Oct-07 3:23 
QuestionCode Pin
concomarx10-Oct-07 23:09
concomarx10-Oct-07 23:09 
AnswerRe: Code Pin
toxcct10-Oct-07 23:20
toxcct10-Oct-07 23:20 
JokeRe: Code Pin
CPallini10-Oct-07 23:31
mveCPallini10-Oct-07 23:31 
GeneralRe: Code Pin
concomarx10-Oct-07 23:40
concomarx10-Oct-07 23:40 
GeneralRe: Code Pin
CPallini10-Oct-07 23:45
mveCPallini10-Oct-07 23:45 
GeneralRe: Code Pin
David Crow11-Oct-07 3:49
David Crow11-Oct-07 3:49 
AnswerRe: Code Pin
Nelek11-Oct-07 0:20
protectorNelek11-Oct-07 0:20 
JokeRe: Code Pin
jhwurmbach11-Oct-07 0:41
jhwurmbach11-Oct-07 0:41 
JokeRe: Code Pin
ThatsAlok11-Oct-07 3:22
ThatsAlok11-Oct-07 3:22 
GeneralRe: Code Pin
jhwurmbach11-Oct-07 3:35
jhwurmbach11-Oct-07 3:35 
GeneralRe: Code Pin
jhwurmbach11-Oct-07 3:35
jhwurmbach11-Oct-07 3:35 
Questionhow to delete specific elements in a char pointer Pin
Priya_Sundar10-Oct-07 22:58
Priya_Sundar10-Oct-07 22:58 
AnswerRe: how to delete specific elements in a char pointer Pin
chandu00410-Oct-07 23:17
chandu00410-Oct-07 23:17 
GeneralRe: how to delete specific elements in a char pointer Pin
toxcct10-Oct-07 23:22
toxcct10-Oct-07 23:22 

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.