Trying to set default Worksheet file name from C++/MFC
I'm creating a worksheet using the MFC classes CWorksheet. I don't want to
save the Worksheet automatically, but if the user chooses to save, I'd like
to have a good default file name in place. I couldn't find anything in
CWorksheet that would do it, put_Title only affects the document Title
property, and CApplication::put_DefaultFilePath ignores a file name. Am I
missing something?
|