Solved

Tool Tip Delay?

Posted on 2002-03-27
6
242 Views
Last Modified: 2006-11-17
I've made a toolbar which docks to the top of the windows desktop, like the Office toolbar.  Using CreateWindowEx and tooltips_class32, I've created ballooning tooltips.  Now the question:

When you mouseover on the office toolbar, the tooltip pop up instantly, yet there seems to be a delay with any other application.  Has anyone ever mimiced this?  I've tried it with the ballooning tooltips, and just regular tooltips, with the same results, a delay.



0
Comment
Question by:falkor
6 Comments
 
LVL 8

Expert Comment

by:glass_cookie
ID: 6901892
Hi!

Here's a suggestion:

Why not use a yellow background picturebox with text printed on it (or with a label on it) to be a tooltiptext instead?  From there, you could use a timer upon getting a mousemove event then show the picturebox.

That's it!

glass cookie : )
0
 
LVL 1

Expert Comment

by:Ryan_231
ID: 6901972
0
 
LVL 27

Expert Comment

by:Ark
ID: 6908511
Take a look on my sample at http://www.freevbcode.com/ShowCode.Asp?ID=1232

Cheers
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 1

Author Comment

by:falkor
ID: 6910103
Class_Cookie: I've grown kinda fond of the balloning tooltips, so I really don't want to use another form.

Ryan: I went there too, but that code doesn't seem to do a thing to the delay, although it says it should.

Ark: Unfortunatly, I work in a locked down NT 4 environment, and I'm not allowed to distribut DLL's
0
 
LVL 27

Accepted Solution

by:
Ark earned 50 total points
ID: 6911235
Hi
There is source code there. Actually, you need:

Private Const WM_USER = &H400
Private Const TTM_SETDELAYTIME = (WM_USER + 3)
Private Const TTDT_AUTOPOP = 2
Private Const TTDT_INITIAL = 3

'To set delay time:
    SendMessage hTT, TTM_SETDELAYTIME, TTDT_INITIAL, ByVal lNewDelayTime

'To set visible time:
   SendMessage hTT, TTM_SETDELAYTIME, TTDT_AUTOPOP, ByVal lNewVisibleTime

'Where hTT is ToolTip window's handle

Cheers
0
 
LVL 1

Author Comment

by:falkor
ID: 6912767
I bow to your superior intellect.  Thank you very much
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now