Article View: borland.public.cppbuilder.nativeapi
Article #12826Re: Hooking to Windows ToolTips
From: Marc
Date: Fri, 14 Nov 2003 13:53
Date: Fri, 14 Nov 2003 13:53
40 lines
2158 bytes
2158 bytes
I simply cannot hook to them, it seems that all messages I tried do not hook. I have tried the following hooks and none get called for tooltips. Unless I am doing something wrong but I can hook to any other window. Also as a quick test I tried Spy++ from microsoft and this app too doesn't seem to trap the tooltip calls. What hook should I be using??? // Hooks I have tried with no result.... SetWindowsHookEx(WH_CALLWNDPROC, SetWindowsHookEx(WH_CALLWNDPROCRET, SetWindowsHookEx(WH_CBT, SetWindowsHookEx(WH_GETMESSAGE, Thanks Marc PS: I will investigate some more in the mean time, since you say they should work.... "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> wrote: > >"Marc" <remove_bukwheat@axess.com> wrote in message >news:3fb3ef78$1@newsgroups.borland.com... > >> I am trying to hook to the tooltips windows of any >> application, just like I would use SetWindowsHookEx >> to hook to any other window or sub classing of a window. > >Tooltips are windows like any other, with their own set of tooltip-specific >messages. So you should have no trouble hooking them with standard hooks. >What exactly are you having a problem with? Please provide more details. > > >Gambit > >
Technical Details
Message-ID:
<3fb4ec69$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.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>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-14 07:10:03 PST From: "Marc" <remove_Bukwheat@axess.com> Sender: "Marc" <remove_Bukwheat@axess.com> Reply-To: "Marc" <remove_Bukwheat@axess.com> Subject: Re: Hooking to Windows ToolTips Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 138.11.254.204 X-Forwarded-For: unknown References: <3fb3ef78$1@newsgroups.borland.com> <3fb3f737@newsgroups.borland.com> NNTP-Posting-Host: 207.105.83.66 Message-ID: <3fb4ec69$1@newsgroups.borland.com> Date: 14 Nov 2003 06:53:29 -0700 X-Trace: newsgroups.borland.com 1068821609 207.105.83.66 (14 Nov 2003 06:53:29 -0700) Lines: 41 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail