This is simple enough but I'm having a heck of a time implementing it. I'm using Visual C++ 6.0 and have some menus that I want to keep diabled until I open a file, but I can't figure out how to check to see if the file is open. GetStatus() doesn't work (nor should it) and a number of other functions that I was hoping would return a boolean depending on the status of the file didn't either. I have also tried some functions in the CDocument class to no avail. I know this is a slam dunk so could someone let me in on it?
Buck
NOTES:
Thanks for visiting our CoderSource.net. This site will be improved with more articles. Interested visitors can also submit their articles through the Submit Article link.Your article will also be published after due consideration by the editor.