🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #12255

Re: Getting a file name and Path

#12255
From: Remy Lebeau (TeamB)
Date: Wed, 17 Dec 2003 20:29
18 lines
1854 bytes
"Marc" <Remove_Bukwheat@axess.com> wrote in message
news:3fe09eda$1@newsgroups.borland.com...

> OK, then what can I do for non office apps

That is too broad of a question.  Every application is different, each
window handles documents in its own way specific to that application.  There
is no universal way to accomplish what you are asking for.  Some
applications display filenames in caption bars.  If available, you could try
grabbing that text.  Some applications display documents in OLE containers.
Some applications have no external access to filenames whatever.  Unless an
application specifically exposes that kind of information for external
access, then there is almost no way to get that information, especially if
all you have available is an HWND to a window.


Gambit
Technical Details
Message-ID: <3fe0bb8d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.esat.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fe08c95$1@newsgroups.borland.com> <3fe0943b$1@newsgroups.borland.com> <3fe09eda$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,83bc1aa467cba6a5
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-12-17 12:40:28 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3fe08c95$1@newsgroups.borland.com> <3fe0943b$1@newsgroups.borland.com> <3fe09eda$1@newsgroups.borland.com>
Subject: Re: Getting a file name and Path
Date: Wed, 17 Dec 2003 12:29:35 -0800
Lines: 20
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.139.199
Message-ID: <3fe0bb8d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1071692685 67.22.139.199 (17 Dec 2003 12:24:45 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.esat.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail