mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
GlideNUI-wtl: Increase Tooltip delay
This commit is contained in:
parent
4f5963b2f2
commit
311433749c
|
@ -24,6 +24,7 @@ protected:
|
||||||
CToolInfo ToolInfo(pT->m_uToolFlags, *pT, 0, 0, MAKEINTRESOURCE(pT->IDD));
|
CToolInfo ToolInfo(pT->m_uToolFlags, *pT, 0, 0, MAKEINTRESOURCE(pT->IDD));
|
||||||
m_TT.AddTool(&ToolInfo);
|
m_TT.AddTool(&ToolInfo);
|
||||||
::EnumChildWindows(*pT, SetTool, (LPARAM)pT);
|
::EnumChildWindows(*pT, SetTool, (LPARAM)pT);
|
||||||
|
TTDelay();
|
||||||
TTSize(0);
|
TTSize(0);
|
||||||
TTActivate(TRUE);
|
TTActivate(TRUE);
|
||||||
}
|
}
|
||||||
|
@ -37,6 +38,12 @@ public:
|
||||||
{
|
{
|
||||||
m_TT.SetMaxTipWidth(nPixel);
|
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)
|
void TTSetTxt(HWND hTool, _U_STRINGorID text)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user