🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4399

Re: Eliminate delay in displaying hint

#4399
From: Remy Lebeau (TeamB)
Date: Fri, 03 Feb 2006 03:37
34 lines
2280 bytes
"TerryC" <user@server.com> wrote in message
news:43e28b6e$1@newsgroups.borland.com...

> I've played with these now, but I can't get the hint to
> remain visible.

Then you will likely have to instantiate and use your own THintWindow object
manually.

Did you try setting a very LARGE HintHidePause value and a HintShortPause
value of zero?

> I can't change the text while it's visible.

Yes, you can.  You can set the TApplication::Hint property whenever you
want.

> It appears the default Hint mechanism is a one-hit-wonder.
> Pop up once, but never again unless the pointer leaves first.

Not true.

> I guess I'm looking for a method like ShowHintNow() that I
> can put in an OnMouseMove event handler.

You can call the TApplication::ActivateHint() or
TApplication::HintMouseMessage() method to provide new mouse coordinates.
If the hint is already active, it will move accordingly.  You may have to
use the TApplication::OnShowHint event to force the hint to reshow by
setting the HintInfo.ReshowTimeout member to a value greater than zero.


Gambit
Technical Details
Message-ID: <43e2cf80$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!atl-c05.usenetserver.com!news.usenetserver.com!indigo.octanews.net!news-out.octanews.net!canary.octanews.net!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!news.gsl.net!gip.net!diablo.netcom.net.uk!netcom.net.uk!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43e27f33$1@newsgroups.borland.com> <43e284a8$3@newsgroups.borland.com> <43e28b6e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d93bae9e3a2fedd4
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43e27f33$1@newsgroups.borland.com> <43e284a8$3@newsgroups.borland.com> <43e28b6e$1@newsgroups.borland.com>
Subject: Re: Eliminate delay in displaying hint
Date: Thu, 2 Feb 2006 19:37:53 -0800
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <43e2cf80$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138937728 68.69.17.41 (2 Feb 2006 19:35:28 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!atl-c05.usenetserver.com!news.usenetserver.com!indigo.octanews.net!news-out.octanews.net!canary.octanews.net!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!news-lond.gip.net!news.gsl.net!gip.net!diablo.netcom.net.uk!netcom.net.uk!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail