Open dialog box... hooking
Hi All,
I am trying to hook the open dialog box, so as to get the complete path name of the object being opened.
For this, i have seen certain APIs avaiable in VC (GetOpenFileName) but these are not called for each and every case (e.g. it is not called in MS Word).
So, best approach i can see is to hook some COM Interface or API, which wil be called every time we get an OPEN dialog box (independent of application) and returns a structure which contains the full path name on pressing OPEN button.
So, if anyone having some idea related to it please get bk to this post.
Thanks alot.
Regards,
SLS
|