I implemented an object editor that performs the open-save-close
operation on a specific file extension. However, I allow files with a
different extension to be opened (Open With/Other../MyEditor) and the
file contents are converted to the file format of the object file.
When I open a file with the non-default extension the file is marked
dirty to force a "SaveAs" operation. However, the "Save" operation is
also enabled. This should be disabled as the file is not the default
file type extension. So how do I disable the "Save" operation in the
File menu?
Also, when I do perform a "SaveAs" operation the filename does not
change to the new filename. Do I have to do this programmatically? If
so, what is the preferred method?
Ray