Answered how can i remove image from tooltips?(mfc)

  • Saturday, June 16, 2012 12:26 PM
     
     

    i use vs2010. thank you!

All Replies

  • Saturday, June 16, 2012 12:45 PM
     
     Answered

    ok. i have finished it.

    we do something in InitInstance() .the function in CXXXApp extends CWinAppEx

    CMFCToolTipInfo ttParams;
      ttParams.m_bDrawIcon = FALSE;
     ttParams.m_clrFill = RGB(211,211,211);
     ttParams.m_clrText =RGB(211,0,0);
     theApp.GetTooltipManager()->SetTooltipParams(AFX_TOOLTIP_TYPE_ALL,
      RUNTIME_CLASS(CMFCToolTipCtrl), &ttParams);  i can also change the text color and background color

    • Marked As Answer by mypadpad Saturday, June 16, 2012 12:46 PM
    •  
  • Monday, June 18, 2012 9:11 AM
    Moderator
     
     

    I'm glad to hear that the question is solved.

    Best wishes,


    Mike Zhang[MSFT]
    MSDN Community Support | Feedback to us