Article View: borland.public.cppbuilder.nativeapi
Article #12815Re: Hooking to Windows ToolTips
From: Remy Lebeau (TeamB)
Date: Tue, 18 Nov 2003 18:09
Date: Tue, 18 Nov 2003 18:09
16 lines
1798 bytes
1798 bytes
"Marc" <remove_Bukwheat@axess.com> wrote in message news:3fba3491$2@newsgroups.borland.com... > Using the SetWindowsHookEx() and WM_NOTIFY i get the > TTN_SHOW message. I don't get the TTN_GETDISPINFO > or TTN_NEEDTEXT. The message that is recieved, comes > from the TaskBar so when I ask for the handle of the window, > I get the TaskBar handle not the tooltip handle. WM_NOTIFY (and WM_COMMAND) is never sent to a target window directly, it is always sent to the window's parent instead. That is why you are seeing the message arrive at the TaskBar and not the Tooltip directly. Gambit
Technical Details
Message-ID:
<3fba60a7@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fb3ef78$1@newsgroups.borland.com> <3fb3f737@newsgroups.borland.com> <3fb4ec69$1@newsgroups.borland.com> <3fb5015f$1@newsgroups.borland.com> <3fb514e5$1@newsgroups.borland.com> <3fb522c0$1@newsgroups.borland.com> <3fb8e5d5$1@newsgroups.borland.com> <3fb90c0a@newsgroups.borland.com> <3fba3491$2@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,77f5c963a5b23dbd X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-18 10:39:53 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fb3ef78$1@newsgroups.borland.com> <3fb3f737@newsgroups.borland.com> <3fb4ec69$1@newsgroups.borland.com> <3fb5015f$1@newsgroups.borland.com> <3fb514e5$1@newsgroups.borland.com> <3fb522c0$1@newsgroups.borland.com> <3fb8e5d5$1@newsgroups.borland.com> <3fb90c0a@newsgroups.borland.com> <3fba3491$2@newsgroups.borland.com> Subject: Re: Hooking to Windows ToolTips Date: Tue, 18 Nov 2003 10:09:18 -0800 Lines: 18 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: 67.22.137.149 Message-ID: <3fba60a7@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069179047 67.22.137.149 (18 Nov 2003 10:10:47 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail