Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 13th, 2006, 12:25 AM
Registered User
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.


Similar Threads
Thread Thread Starter Forum Replies Last Post
open file dialog box mh VB.NET 7 April 11th, 2005 10:15 AM
Open dialog box to a particular folder ja8261 Excel VBA 1 January 14th, 2005 03:52 AM
Open File Dialog Box KennethMungwira VB.NET 3 August 3rd, 2003 09:44 PM
Open directory dialog box mkpriya VS.NET 2002/2003 6 July 2nd, 2003 07:24 AM
Open File Dialog Box KennethMungwira VB.NET 2 June 27th, 2003 04:36 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.