Click here to Skip to main content
15,793,018 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Azure DevOps Chocolatey question : install vs2022 Pin
Maximilien18-Feb-22 4:23
Maximilien18-Feb-22 4:23 
GeneralRe: Azure DevOps Chocolatey question : install vs2022 Pin
Mircea Neacsu18-Feb-22 6:06
Mircea Neacsu18-Feb-22 6:06 
QuestionMessage Closed Pin
13-Feb-22 19:51
Member 1496877113-Feb-22 19:51 
AnswerRe: resource wanted - print control / color codes Pin
Gerry Schmitz13-Feb-22 20:32
mveGerry Schmitz13-Feb-22 20:32 
AnswerRe: resource wanted - print control / color codes Pin
Richard MacCutchan13-Feb-22 23:24
mveRichard MacCutchan13-Feb-22 23:24 
AnswerRe: resource wanted - print control / color codes Pin
Peter_in_278013-Feb-22 23:31
professionalPeter_in_278013-Feb-22 23:31 
QuestionStatic OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
ForNow7-Feb-22 15:53
ForNow7-Feb-22 15:53 
AnswerRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
Richard MacCutchan7-Feb-22 22:08
mveRichard MacCutchan7-Feb-22 22:08 
The WM_DRAWITEM message gets sent to the parent window when the control needs to be drawn. So you need to handle that message in your dialog's message handler. See WM_DRAWITEM message (Winuser.h) - Win32 apps | Microsoft Docs[^] for more details. The DRAWITEMSTRUCT (winuser.h) - Win32 apps | Microsoft Docs[^] contains details and flags which identify which phase of drawing needs to be performed. It is rather convoluted but I have used it in the past and it does work, as long as you follow the rules.

modified 8-Feb-22 5:39am.

GeneralRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
Victor Nijegorodov7-Feb-22 23:49
Victor Nijegorodov7-Feb-22 23:49 
GeneralRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
Richard MacCutchan8-Feb-22 0:39
mveRichard MacCutchan8-Feb-22 0:39 
AnswerRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
Victor Nijegorodov7-Feb-22 23:42
Victor Nijegorodov7-Feb-22 23:42 
GeneralRe: Static OwnerDraw SS_OWNERDRAW DrawItem not being called Pin
ForNow8-Feb-22 2:23
ForNow8-Feb-22 2:23 
GeneralRe: It gets called at the end of the OnInitDialog Pin
ForNow8-Feb-22 12:25
ForNow8-Feb-22 12:25 
Questionways to write code for a class Pin
Calin Negru6-Feb-22 8:43
Calin Negru6-Feb-22 8:43 
AnswerRe: ways to write code for a class Pin
Mircea Neacsu6-Feb-22 10:15
Mircea Neacsu6-Feb-22 10:15 
AnswerRe: ways to write code for a class Pin
Greg Utas6-Feb-22 11:16
mveGreg Utas6-Feb-22 11:16 
GeneralRe: ways to write code for a class Pin
Calin Negru7-Feb-22 0:28
Calin Negru7-Feb-22 0:28 
QuestionC++ Pin
Naveenkumarreddy Ramireddy6-Feb-22 7:44
Naveenkumarreddy Ramireddy6-Feb-22 7:44 
AnswerRe: C++ Pin
trønderen6-Feb-22 9:00
trønderen6-Feb-22 9:00 
AnswerRe: C++ Pin
Victor Nijegorodov6-Feb-22 9:50
Victor Nijegorodov6-Feb-22 9:50 
AnswerRe: C++ Pin
Artem Moroz8-Feb-22 10:19
Artem Moroz8-Feb-22 10:19 
QuestionRichEdit Streamin SF_TEXT not appearing Pin
ForNow30-Jan-22 15:58
ForNow30-Jan-22 15:58 
AnswerRe: RichEdit Streamin SF_TEXT not appearing Pin
Victor Nijegorodov30-Jan-22 21:43
Victor Nijegorodov30-Jan-22 21:43 
GeneralRe: RichEdit Streamin SF_TEXT not appearing Pin
ForNow30-Jan-22 21:48
ForNow30-Jan-22 21:48 
GeneralRe: RichEdit Streamin SF_TEXT not appearing CODE POSTED !!!!! Pin
ForNow31-Jan-22 2:32
ForNow31-Jan-22 2:32 

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.