Click here to Skip to main content
15,798,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Select TRACE functions based on both a variable and a #define? Pin
Richard MacCutchan12-Mar-21 2:22
mveRichard MacCutchan12-Mar-21 2:22 
GeneralRe: Select TRACE functions based on both a variable and a #define? Pin
arnold_w12-Mar-21 2:51
arnold_w12-Mar-21 2:51 
GeneralRe: Select TRACE functions based on both a variable and a #define? Pin
Richard MacCutchan12-Mar-21 3:43
mveRichard MacCutchan12-Mar-21 3:43 
QuestionMFC: CMFCPropertysheet CMFCPropertypage Pin
Member 1325158810-Mar-21 20:35
Member 1325158810-Mar-21 20:35 
AnswerRe: MFC: CMFCPropertysheet CMFCPropertypage Pin
Victor Nijegorodov10-Mar-21 21:21
Victor Nijegorodov10-Mar-21 21:21 
QuestionCMFCToolTipCtrl doen't enter OnPaint when I use it in my self-draw CTreeCtrl Pin
Member 1488267128-Feb-21 16:52
Member 1488267128-Feb-21 16:52 
AnswerRe: CMFCToolTipCtrl doen't enter OnPaint when I use it in my self-draw CTreeCtrl Pin
Randor 4-Mar-21 11:33
professional Randor 4-Mar-21 11:33 
AnswerRe: CMFCToolTipCtrl doen't enter OnPaint when I use it in my self-draw CTreeCtrl Pin
Victor Nijegorodov4-Mar-21 21:39
Victor Nijegorodov4-Mar-21 21:39 
Member 14882671 wrote:
I use SetParams in the ToolTip callback function and set new color/text .
However, I can't get new color when the tooltip displayed.
After I debug and found that it can't enter CMFCToolTipCtrl onPaint. If I use invalidate, then the whole ActiveX Control will flash rapidly.
I inherited CMFCToolTipCtrl and found that WM_PAINT cannot be received

There are virtual methods you could use to customize CMFCToolTipCtrl:
CMFCToolTipCtrl Class | Microsoft Docs
and some other OnDraw... methods.
QuestionMFC Dialog Based App Scaling Problem Pin
acerunner31626-Feb-21 7:28
acerunner31626-Feb-21 7:28 
AnswerRe: MFC Dialog Based App Scaling Problem Pin
RedDk26-Feb-21 8:22
RedDk26-Feb-21 8:22 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner31626-Feb-21 10:03
acerunner31626-Feb-21 10:03 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
Dave Kreskowiak26-Feb-21 10:53
mveDave Kreskowiak26-Feb-21 10:53 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 15:00
acerunner3161-Mar-21 15:00 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
Dave Kreskowiak1-Mar-21 15:43
mveDave Kreskowiak1-Mar-21 15:43 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
RedDk26-Feb-21 11:10
RedDk26-Feb-21 11:10 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 15:13
acerunner3161-Mar-21 15:13 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
RedDk1-Mar-21 16:25
RedDk1-Mar-21 16:25 
QuestionRe: MFC Dialog Based App Scaling Problem Pin
Richard MacCutchan27-Feb-21 1:52
mveRichard MacCutchan27-Feb-21 1:52 
AnswerRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 15:11
acerunner3161-Mar-21 15:11 
QuestionRe: MFC Dialog Based App Scaling Problem Pin
David Crow28-Feb-21 16:24
David Crow28-Feb-21 16:24 
AnswerRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 15:02
acerunner3161-Mar-21 15:02 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
David Crow1-Mar-21 17:06
David Crow1-Mar-21 17:06 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner3162-Mar-21 10:55
acerunner3162-Mar-21 10:55 
AnswerRe: MFC Dialog Based App Scaling Problem Pin
Member 137122181-Mar-21 12:10
Member 137122181-Mar-21 12:10 
GeneralRe: MFC Dialog Based App Scaling Problem Pin
acerunner3161-Mar-21 15:08
acerunner3161-Mar-21 15:08 

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.