One day I had to create an SDI application that requires an MRU feature implemented in a combo box on the document form view. I’m not an advanced VC programmer so I don’t pretend that this is the best solution. This article is for beginners that search for such an example.What is to be done ?
Create an usual [...]
<!– Article Starts –>1. Introduction
This code implements MDI tab view for easy navigation. The views are supported on a control bar, which can be floated (of course docked!).2. Implemented Features Control bar-based owner-drawn tab view. Supports fonts and color settings, [...]
The Most Recently Used (MRU) files list is standard feature of most Windows applications. This article describes how to add (MRU) support to Windows (SDI/MDI) application using the class CRecentFileList. CRecentFileList is a CObject class that supports control of the most recently used (MRU) [...]
This code closes the default “blank” document when an existing file is opened in a MFC MDI application (This behaviour can also be seen in Microsoft’s Word and Excel).
It works for files opened from File->Open… menu option and files opened from the MRU (most-recently-used) list.
Best of all, it only requires [...]
In a previous article, we discussed how to replace views in a document-view application. The views to replace were destroyed, and new views were created to replace them. Sometimes it’s better to preserve the views and use them later rather than to destroy and recreate them. In this article, we show how to switch to other views without destroying the old ones, so we [...]