mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user