Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tooltips - attribute adjustment
#1
Hi Gintaras,
I know from your last answer that you can dynamically change the text of the tooltips through Tooltip.Update but what about turning tooltips on/off or changing the delay time or the x,y distance from their control, not just at creation but later dynamically depending on other situations.

I see in __Tooltip.Create there are these SendMessage features:

Code:
Copy      Help
int tts=TTS_NOPREFIX
if(flags&1) tts|TTS_ALWAYSTIP
if(flags&2) tts|TTS_BALLOON
htt=CreateWindowExW(WS_EX_TRANSPARENT L"tooltips_class32" 0 tts 0 0 0 0 hwnd 0 _hinst 0)
SendMessage htt TTM_ACTIVATE 1 0
SendMessage htt TTM_SETMAXTIPWIDTH 0 600
if(timeToShow) SendMessage htt TTM_SETDELAYTIME TTDT_AUTOPOP timeToShow*1000


but I am not sure how I would address these dynamically (or at creation).

Thanks again,
S


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)