Article View: borland.public.cppbuilder.nativeapi
Article #2702Re: ToolTips Position and pop-up event.
From: Damon Chandler (TeamB)
Date: Tue, 09 Jan 2007 09:36
Date: Tue, 09 Jan 2007 09:36
40 lines
2258 bytes
2258 bytes
Hi Mike, You might have already looked here, but this page... http://tinyurl.com/4q27u describes some techniques of positioning tooltips. In particular, have a look at the section "Tracking Tooltips," and the description of the TTF_CENTERTIP flag. Never tried any of this myself, but it sounds promising. This topic would also make for a good article :) Cheers, -- Damon (TeamB) C++Builder Developer's Journal http://bcbjournal.com BCB Commonly Asked Questions http://bcbjournal.com/bcbcaq Mike Collins wrote: > Hi guys, just q quicky about tooltips - seems this topic has been discussed > quite a bit previous but i can't seem to find the answers to my problems. > [snip] > > However, I now have two seperate requirements and problems. The first is > that i need to position the tooltip below the control that it is being > displayed for. Currently it is displayed above the control. I have tried > using the SetWindowsPos but it doesn't seem to have any effect. > > The second (and unrelated) problem that i have is that i want to display the > tooltip in responce to a users data entry. [snip] > > Thanks in advance. > > Mike C
Technical Details
Message-ID:
<45a36182$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45a16e59$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,a6013b7884e74024 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 09 Jan 2007 03:36:35 -0600 From: "Damon Chandler (TeamB)" <editor@_REMOVE_THIS_SPAM_GUARD_bcbjournal.com> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: ToolTips Position and pop-up event. References: <45a16e59$1@newsgroups.borland.com> In-Reply-To: <45a16e59$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 74.195.250.132 Message-ID: <45a36182$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1168335234 74.195.250.132 (9 Jan 2007 01:33:54 -0800) Lines: 40 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!tudelft.nl!txtfeed1.tudelft.nl!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail