I am not using a CToolTipCtrl. Is there any way I can change the tooltip initial delay time. I think it's 1000ms now, but I want it to be much faster.
greets,
timv
Printable View
I am not using a CToolTipCtrl. Is there any way I can change the tooltip initial delay time. I think it's 1000ms now, but I want it to be much faster.
greets,
timv
what about ::SendMessage(..) with TTM_SETDELAYTIME ?
Cheers
i triedbut nothing changes (it's still like 1000ms).Code://in CMainFrame:
::SendMessage(m_wndToolBar.GetToolBarCtrl().m_hWnd,TTM_SETDELAYTIME,TTDT_INITIAL,10);
::SendMessage(m_hWnd,TTM_SETDELAYTIME,TTDT_INITIAL,10);
::SendMessage(m_wndToolBar.m_hWnd,TTM_SETDELAYTIME,TTDT_INITIAL,10);
timv
well if you set a tool tip to the m_wndToolBar which is CToolBar accroding your code so did you try something like that?
CheersCode:m_wndToolBar.GetToolBarCtrl().GetToolTips()->SetDelayTime(10);
Yes, that's what I tried first, but since I do not use CToolTipCtrls, the GetToolTips() function returns NULL;Quote:
Originally Posted by golanshahar
To be honest, I don't really get why the tooltips come up in the first place. I believe it's not necessary to use the CToolTipCtrl. I dó have CStrings attached to the toolbarbuttons (TBBUTTONs).
So, does someone know how to do this when not using the CTooltipCtrl.
timv