Sending CDM_GETFILEPATH message to Save As dialog

Hi,

I intendend to subclass the save dialog of every windows application.

For VS2003 I am sending theCDM_GETFILEPATH message to theSHELLDLL_DefView window of the VS 2003 save as dialog to get the full file name that has been selected to be saved (Note that I am not launching this dialog. VS2003 does.). The SendMessage works fine however it returns a value of 0 which indicates that nothing has been copied into my buffer that will actually receive the file name.

Kindly provide some inputs on the same.

Thanks in advance,
Vishal

[752 byte] By [Vishal_pai] at [2007-12-24]

Software Development for Windows Vista

Site Classified