BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Find filepath

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI
View previous topic :: View next topic  
Author Message
BB
Guest





PostPosted: Mon Oct 02, 2006 12:30 am    Post subject: Find filepath Reply with quote



Hi Guys,
Two questions here.Need logical help...please help.
I am using subclassing..CreateWindowEx to findout
filename.

1>How can i find path of any file when user open it before
window is activated. For example , I run Microsoft Excel and select 3rd
most "recently used file list" to open. Or double clicking any excel
file in explorer and opening it. In both cases you can see path , but
how my app will know what file name & path user is trying to open? I am
not looking for any information on recently used files.
2>You can always findout Window Title of active window. If
active window have listbox is there any way to find out selected text?
For example . How to findout selected email text from Inbox in outlook
window? Or Active window text in Microsoft Office word if more than one
documents are open?

In both cases what best subclassing option to trap message
when windows is being created? or file being created?

Thank you for your help

--BB
Back to top
Riki Wiki
Guest





PostPosted: Thu Oct 05, 2006 4:58 am    Post subject: Re: Find filepath Reply with quote



Hoi

You need to repost your question on the Borland news server to make
everybody see it and possibly answer your question. Further, this newsgroup
do not officially exist, use newsgroup b.p.d.nativeapi.win32.

How to post to Delphi newsgroups:
<http://delphi.wikia.com/wiki/Delphi_Newsgroups>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.