nitin_rajurkar 0 Newbie Poster

Hi,

I created File Open Dialog (custom) using GetOpenFileName with hook file. (Files are attached). I am opening a dialog in a main window of application that has a command button. Clicking of this commad button opens File Open dialog. However, after selecting a file and clicking either "Open" or "Cancel" do not close (or dismiss) the File Dialog. This hangs the application.

Can you please tell me what to do? Where am I wrong?

Nitin Rajurkar