Article View: borland.public.cppbuilder.nativeapi
Article #13867Re: How Do I Show Hint with Keyboard
From: Remy Lebeau (TeamB)
Date: Sun, 14 Sep 2003 04:43
Date: Sun, 14 Sep 2003 04:43
21 lines
1756 bytes
1756 bytes
"Larry Johnson" <johnson22@ev1.net> wrote in message news:3f63e59f@newsgroups.borland.com... > 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. That is because the hint window is controlled by the WM_MOUSEMOVE message, which is not sent when SetCursorPos() is used. You need to simulate WM_MOUSEMOVE manually. Have a look at the TApplication::HintMouseMessage() method. Gambit --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID:
<3f63f1b5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f63d9a4$1@newsgroups.borland.com> <3f63db62$1@newsgroups.borland.com> <3f63e59f@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:43:19 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f63d9a4$1@newsgroups.borland.com> <3f63db62$1@newsgroups.borland.com> <3f63e59f@newsgroups.borland.com> Subject: Re: How Do I Show Hint with Keyboard Date: Sat, 13 Sep 2003 21:43:18 -0700 Lines: 23 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: 207.175.226.26 Message-ID: <3f63f1b5$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063514549 207.175.226.26 (13 Sep 2003 21:42:29 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail