Some "Save as" dialogs provide a default file name - how is it done?
I know how to create basic "Save as" dialog: OPENFILENAME, GetSaveFileName, and all that. But where should I put the string representing, say the file name of currently opened file? I thought it would come from .lpstrFile but this is not the case...
Update: I was not using static char path in WinProc. Now I am, and it works!