Article View: borland.public.cppbuilder.nativeapi
Article #15235Re: to get help for FindWindow
From: Ed Mulroy [TeamB]
Date: Sun, 13 Jul 2003 14:51
Date: Sun, 13 Jul 2003 14:51
42 lines
2787 bytes
2787 bytes
> So i need its windowclass and therefore WinSight32. You can get the window class in other ways, for instance from EnumWindows and EnumChildWindows. For a remote control you probably also need to know how COM works. Spend a little time with the docs on it. One thing which is not easily seen in the help files is how to identify a window when given the name of the exe which created it. I don't know if it will help you but there is a chance that you would find it useful. I have a small piece of code which does that and to which I added a demo part when someone on these groups was asking about how to do such a thing. It is C++ and Windows API code, not VCL code. If the macro "DEBUGGING" is not defined when it is compiled, the demo portion is commented out. I've placed the source, batch file to build it and exectuable for the demo into a zip file and placed it in the attachments newsgroups, borland.public.attachments The message title is Windows From File . Ed > asker wrote in message > news:3f1166d4$1@newsgroups.borland.com... > Thx for your complete answer. > > For a remote control i need a window-handle by a window > which has a little bit different window-titles/captions each > time. So i need its windowclass and therefore WinSight32. > (But also a whole list of all entrie-titles in the taskbar would > be sufficient). > > The reason why i'm here and not there lies only in the very > little time i have and also in this hugh list of newsgroups. > Someboddy only told something of 'nativapi' and so very > quickly i was here :-)) > > And be sure i don't think bad about Delphianer. In the contrary > i'm thinking Delphi-people are really good. > > Probably the best of all. No, joke - of course *ggg*
Technical Details
Message-ID:
<3f1171ed@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f114314@newsgroups.borland.com> <3f1155f2@newsgroups.borland.com> <3f1166d4$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,a3f3aae13edeadc9 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-13 07:58:26 PST From: "Ed Mulroy [TeamB]" <ed@mulroyREMOVETHESECHARS.org> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f114314@newsgroups.borland.com> <3f1155f2@newsgroups.borland.com> <3f1166d4$1@newsgroups.borland.com> Subject: Re: to get help for FindWindow Date: Sun, 13 Jul 2003 10:51:13 -0400 Lines: 44 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.1106 NNTP-Posting-Host: 206.228.162.85 Message-ID: <3f1171ed@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1058107885 206.228.162.85 (13 Jul 2003 07:51:25 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail