How to check if a valid document file is loaded in mfc
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
How to check if a valid document file is loaded in SDI application? Actually I want to do some actions only after a file is opened. and also want to enable/disable filemenu save, save as submenus and save tool bar button. Any suggestion? Thanks
Hi, loaded with Serialize () or loaded with CFile open and read? And what do you mean with "valid"? If your program has an extension, it would load only files with this extension, and the serialize () already has some checking functions that says "this file is not valid" or "error by loading" Please explain yourself a bit more
Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?