Article View: borland.public.cppbuilder.nativeapi
Article #15224Re: How to get window-title of a 'special' window?
From: MR
Date: Sat, 12 Jul 2003 23:58
Date: Sat, 12 Jul 2003 23:58
47 lines
2327 bytes
2327 bytes
>You could use WinSight32 and look up the window's caption and relationship
>to other windows.
Ed, thanks for your answer.
Winsight shows the following tree, where the last entry below is my
window, I was looking the title/caption for:
Desktop...
+-Overlapped 00130030E {IETrace}IExplorer.exe
(13,-1)-(200,1023)"http://www...."
+-+-Popup 00061596{SunAWTDialog}, EXPLORER.EXE (35,5)-(285,228)
"Player"
GetWindowText() also returns 'Player', but this is not the text, the
window displays.
What can I do next?
Thanks,
Michael
|----
>
>. Ed
>
>> M_R wrote in message
>> news:kqe0hvo0ducq0vf7d0dcm06hqlg0j6pru2@4ax.com...
>>
>> The native function regularily GetWindowText() returns the title
>> (caption) of a window.
>>
>> In the case of an IE6-Explorers subwindow (i.e. this window's parent
>> is a IE6-window) unfortunately it returns not the windows title, but
>> another text.
>>
>> The window I'm query about does not look like a regular window. It has
>> a little Monitor-graphic at the left of title-bar and the green
>> minimize and red close-icons are in a circle. Perhaps this window is a
>> Java-generated window!?
>>
>> How can I get the displayed tet of this window?
>>
>> (If you like, I can capture a window and move it to the attachments
>> newsgroup...)
>
Technical Details
Message-ID:
<g661hv07an36t3epojenvuvq2na40khuj9@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<kqe0hvo0ducq0vf7d0dcm06hqlg0j6pru2@4ax.com> <3f105ca8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,895a640648e0333c X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-12 16:59:53 PST From: M_R <> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to get window-title of a 'special' window? Date: Sun, 13 Jul 2003 01:58:57 +0200 Message-ID: <g661hv07an36t3epojenvuvq2na40khuj9@4ax.com> References: <kqe0hvo0ducq0vf7d0dcm06hqlg0j6pru2@4ax.com> <3f105ca8@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.93/32.576 Deutsch (Standard) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 217.80.34.86 X-Trace: newsgroups.borland.com 1058054336 217.80.34.86 (12 Jul 2003 16:58:56 -0700) Lines: 48 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!ash.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail