After I searched how to color the tooltip text or background I found these functions:
SetTipTextColor()
SetTipBkColor()
But none of them worked with me !! Is there another way to do it or is my code missing something? Please let me know :)
Here is the code I have tried in OnInitDialog()
:
CToolTipCtrl tp;
tp.Create(this);
tp.AddTool(&m_Button1, L"Hello, World!", &rect, 1);
tp.SetTipBkColor(RGB(125, 125, 125));
tp.SetTipTextColor(RGB(200, 0, 0));