O'Reilly logo

Windows Forms Programming in C# by Chris Sells

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

MFC Versus WinForms

Some folks do need to build document-based applications, and even though WinForms isn't designed to support that as well as MFC is, it's not very hard to build complete document-based applications if you're armed with the knowledge of what WinForms does and doesn't provide as compared with MFC. Table A.1 shows a feature-based summary focused on building document-based applications.

Table A.1. MFC Versus WinForms/.NET
FeatureMFCWinForms/.NET
Application WizardsFourFour
IDE IntegrationYesYes
Dialog, SDI, MDI ApplicationsYesYes
Multi-SDI ApplicationsYesNo
UI LayoutYes (dialogs only)Yes
Docking and SplittingYes (simple)Yes
AnchoringNoYes
Toolbars and the likeYesYes (no floating)
Printing, Preview, SetupYesYes
OLE/Active DocumentsYesNo
COM ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required