Minor fix by JamesAC to ToolTip routines

Many changes to Help files for 1.3 beta
Minor fix for Installer script
This commit is contained in:
jsmorley
2010-07-17 19:11:05 +00:00
parent 6b6635b9c9
commit ab272307a4
4 changed files with 27 additions and 10 deletions

View File

@ -538,6 +538,7 @@ void CMeter::CreateToolTip(CMeterWindow* meterWindow)
ti.rect = GetMeterRect();
SendMessage(hwndTT, TTM_ADDTOOL, NULL, (LPARAM) (LPTOOLINFO) &ti);
SendMessage(hwndTT, TTM_SETMAXTIPWIDTH, NULL, 1000);
if (!m_ToolTipTitle.empty())
{
@ -573,6 +574,10 @@ void CMeter::CreateToolTip(CMeterWindow* meterWindow)
SendMessage(hwndTT, TTM_SETTITLE, (WPARAM) hIcon, (LPARAM) m_ToolTipTitle.c_str());
DestroyIcon(hIcon);
}
if (IsHidden())
{
SendMessage(hwndTT, TTM_ACTIVATE, FALSE, NULL);
}
m_ToolTipHandle = hwndTT;
}