Link to home
Start Free TrialLog in
Avatar of win32
win32

asked on

ToolTip disable timers

I wanna disable all timers in a toolTip.

m_ToolTip.SendMessage(TTM_SETMAXTIPWIDTH, 0, SHRT_MAX);  
     m_ToolTip.SendMessage(TTM_SETDELAYTIME, TTDT_AUTOPOP, SHRT_MAX);
  m_ToolTip.SendMessage(TTM_SETDELAYTIME, TTDT_INITIAL, 100);

I don't need any of those timers, can I disable them ?
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

why do u need to disable them?
Avatar of win32
win32

ASKER

Because I want a toolTip all the time !
over a control or over a view?
Avatar of win32

ASKER

Over a view, I have a toolTip over a window, and it is displayed all the time. Never to disapear, because it holds userdata that is changing all the time !

What my program does:
i have a 3 graphs drawn in a window. When my mouse curser is over a graph it returns data to the user. [Hz, dB] that is displayed in the ToolTip, when the user moves the mouse, new data are displayed, and also if the graph is updated new data will be displayed!!

So I need the ToolTipText over the graph displayed all the time, therefor it's buggin me that the ToolTip will flicker in the display of data evry time a AUTO_POP event is comming up!

That's my problem
for 50 pts i'll send u a sample code
Avatar of win32

ASKER

Sorry for the delayed time..
Why not 75 ? :-)
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
btw, u can erase this line: m_uTimer = SetTimer(1, 1, 0);

sorry 4 that...
Avatar of win32

ASKER

Thanks man, sorry for my long Re: time

CB.