1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

GlideNUI-wtl: Increase Tooltip delay

This commit is contained in:
oddMLan 2020-04-21 07:32:01 -07:00 committed by Sergey Lipskiy
parent 4f5963b2f2
commit 311433749c

View File

@ -24,6 +24,7 @@ protected:
CToolInfo ToolInfo(pT->m_uToolFlags, *pT, 0, 0, MAKEINTRESOURCE(pT->IDD));
m_TT.AddTool(&ToolInfo);
::EnumChildWindows(*pT, SetTool, (LPARAM)pT);
TTDelay();
TTSize(0);
TTActivate(TRUE);
}
@ -37,6 +38,12 @@ public:
{
m_TT.SetMaxTipWidth(nPixel);
}
void TTDelay()
{
m_TT.SetDelayTime(TTDT_INITIAL, 1250);
m_TT.SetDelayTime(TTDT_RESHOW, 600);
m_TT.SetDelayTime(TTDT_AUTOPOP, 32767);
}
void TTSetTxt(HWND hTool, _U_STRINGorID text)
{