Click here to Skip to main content
15,887,368 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Figuring Out How to Test Code Pin
CPallini21-Nov-17 21:51
mveCPallini21-Nov-17 21:51 
AnswerRe: Figuring Out How to Test Code Pin
jschell20-Nov-17 6:26
jschell20-Nov-17 6:26 
AnswerRe: Figuring Out How to Test Code Pin
ThatsAlok20-Nov-17 20:10
ThatsAlok20-Nov-17 20:10 
QuestionC++ formatting into a buffer - why so elephanting difficult? Pin
charlieg16-Nov-17 3:15
charlieg16-Nov-17 3:15 
AnswerRe: C++ formatting into a buffer - why so elephanting difficult? Pin
Jochen Arndt16-Nov-17 3:51
professionalJochen Arndt16-Nov-17 3:51 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg16-Nov-17 5:20
charlieg16-Nov-17 5:20 
AnswerRe: C++ formatting into a buffer - why so elephanting difficult? Pin
Richard MacCutchan16-Nov-17 4:00
mveRichard MacCutchan16-Nov-17 4:00 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg16-Nov-17 5:21
charlieg16-Nov-17 5:21 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
Richard MacCutchan16-Nov-17 21:28
mveRichard MacCutchan16-Nov-17 21:28 
AnswerRe: C++ formatting into a buffer - why so elephanting difficult? Pin
Maximilien16-Nov-17 5:45
Maximilien16-Nov-17 5:45 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg16-Nov-17 11:11
charlieg16-Nov-17 11:11 
AnswerRe: C++ formatting into a buffer - why so elephanting difficult? Pin
jschell16-Nov-17 13:27
jschell16-Nov-17 13:27 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg17-Nov-17 7:17
charlieg17-Nov-17 7:17 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
jschell17-Nov-17 10:45
jschell17-Nov-17 10:45 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
CPallini23-Nov-17 22:29
mveCPallini23-Nov-17 22:29 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
charlieg29-Nov-17 11:19
charlieg29-Nov-17 11:19 
GeneralRe: C++ formatting into a buffer - why so elephanting difficult? Pin
CPallini29-Nov-17 11:42
mveCPallini29-Nov-17 11:42 
AnswerRe: C++ formatting into a buffer - why so elephanting difficult? Pin
Rick York25-Nov-17 19:53
mveRick York25-Nov-17 19:53 
QuestionCStatic::Drawitem gets called repeatledly Pin
ForNow15-Nov-17 16:35
ForNow15-Nov-17 16:35 
AnswerRe: CStatic::Drawitem gets called repeatledly Pin
Jochen Arndt15-Nov-17 21:15
professionalJochen Arndt15-Nov-17 21:15 
GeneralRe: CStatic::Drawitem gets called repeatledly Pin
ForNow17-Nov-17 3:42
ForNow17-Nov-17 3:42 
It was SetWindowText that was calling the DrawItem, I put it outside the DrawItem method

However the Text isn't being displayed at all.


Would you have any suggestion on how to set the Text in CStatic while using the DrawItem

to change the font text color and background


Thanks
AnswerRe: CStatic::Drawitem gets called repeatledly Pin
Jochen Arndt17-Nov-17 4:01
professionalJochen Arndt17-Nov-17 4:01 
GeneralRe: CStatic::Drawitem gets called repeatledly Pin
ForNow17-Nov-17 4:10
ForNow17-Nov-17 4:10 
GeneralRe: CStatic::Drawitem gets called repeatledly Pin
ForNow19-Nov-17 3:30
ForNow19-Nov-17 3:30 
GeneralRe: CStatic::Drawitem gets called repeatledly Pin
Jochen Arndt19-Nov-17 7:35
professionalJochen Arndt19-Nov-17 7:35 

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.