[MFC Feature Pack] Select an MDI tab programmatically in a Document View application

A customer recently asked this question, thought I’ll share the solution out here. Its not that obvious FYI. When creating an MFC MDI application we have an option to enable tabbed view of MDI documents. Once this is done here’s how the application will look like… Note that except for the first sample image you […]
Continue reading…

 

How to prevent MDI applications from showing a template dialog at startup?

Many times we don’t want the MDI template dialog to be shown during startup of an MDI application. Well the million dollar question is how can we prevent it from popping up. Well this is how we do it… 🙂 Goto your applicationname.cpp file and edit the InitInstance method at the specified place as shown […]
Continue reading…