Article View: borland.public.cppbuilder.nativeapi
Article #13862Re: How Do I Show Hint with Keyboard
From: Larry Johnson
Date: Sun, 14 Sep 2003 03:50
Date: Sun, 14 Sep 2003 03:50
25 lines
2103 bytes
2103 bytes
I am referring to the hint that pops up next to the mouse cursor when you move the mouse. I move the mouse on a child form over a PaintBox. I set the hint string using PaintBox1->Hint = AnsiString; I have this working using the MouseDown and MouseMove event handlers. I can move the mouse cursor and also set the hint string using the keyboard in the event void __fastcall TMainForm::FormShortCut(TWMKey &Msg, bool &Handled). In this event I use the API SetCursorPos() to move the mouse cursor. My problem is that from the code inside the event void __fastcall TMainForm::FormShortCut(TWMKey &Msg, bool &Handled) I can not make the mouse cursor hint box pop up. After I call SetCursorPos() and move the mouse cursor, I need code to make the hint box pop up. I hope there is an API for this but I can not find one in the API bible. Any ideas how to pop up that hint box? Thanks Larry Johnson. "Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message news:3f63db62$1@newsgroups.borland.com... > > Which hint are you referring to exactly? You need to be a little more > specific. > > Gambit
Technical Details
Message-ID:
<3f63e59f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f63d9a4$1@newsgroups.borland.com> <3f63db62$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,f1241a49239edb69 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-13 21:01:14 PST Reply-To: "Larry Johnson" <johnson22@ev1.net> From: "Larry Johnson" <johnson22@ev1.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f63d9a4$1@newsgroups.borland.com> <3f63db62$1@newsgroups.borland.com> Subject: Re: How Do I Show Hint with Keyboard Date: Sat, 13 Sep 2003 22:50:51 -0500 Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 216.40.234.13 Message-ID: <3f63e59f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063511455 216.40.234.13 (13 Sep 2003 20:50:55 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail