Article View: borland.public.cppbuilder.nativeapi
Article #12814Re: Hooking to Windows ToolTips
From: Remy Lebeau (TeamB)
Date: Tue, 18 Nov 2003 18:27
Date: Tue, 18 Nov 2003 18:27
15 lines
1769 bytes
1769 bytes
"Marc" <remove_Bukwheat@axess.com> wrote in message news:3fba3491$2@newsgroups.borland.com... > I don't get the TTN_GETDISPINFO or TTN_NEEDTEXT. Further research reveils that those notifications are only sent if the tooltip specifies LPSTR_TEXTCALLBACK as its text, meaning that that tooltip text is dynamic and the parent control is requesting the OS to call back into the control to get the tooltip's current text when needed. If the text is not using a callback, then the text is static and TTN_GETDISPINFO/TTN_NEEDTEXT is not needed, thus not sent. Gambit
Technical Details
Message-ID:
<3fba63b3$1@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:27:23 -0800 Lines: 17 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: <3fba63b3$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069179827 67.22.137.149 (18 Nov 2003 10:23: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