2006-10-01 19:30:36 UTC
Two questions here.Need logical help...please help.
I am using subclassing..CreateWindowEx to findout
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