Click here to Skip to main content
12,635,398 members (24,487 online)
Click here to Skip to main content

Stats

262.8K views
12K downloads
163 bookmarked
Posted

Hosting of MFC MDI Applications from Within WinForms and WPF Applications

, 2 Dec 2013 CPOL
Demonstrates the concept of how to build an old MFC application in a .NET application, to replace the MFC MDI Framework with the modern WinForms or the WPF Framework and to integrate MFC Views and Dialogs in it.
DialogWiz
Hosting
MfcAppAdapter
res
DialogWiz.ico
DialogWizDoc.ico
Toolbar.bmp
ProgramGuide_files
Drawing4.jpg
Run.gif
Set.gif
Tree.gif
Wiz.gif
TestForm
Properties
DialogWiz.ico
DialogWizDoc.ico
Toolbar.bmp
Drawing4.jpg
Run.gif
Set.gif
Tree.gif
Wiz.gif
DialogWiz.ico
DialogWizDoc.ico
Toolbar.bmp
Drawing4.jpg
Run.gif
Set.gif
Tree.gif
Wiz.gif
images
darrow.gif
dfarrow.gif
interface.gif
larrow.gif
lfarrow.gif
lrdiamond.gif
lrjog.gif
note.gif
partof.gif
rarrow.gif
rfarrow.gif
uarrow.gif
uddiamond.gif
udjog.gif
ufarrow.gif
MdiFormsDemo.exe
MdiFormsWndManager.dll
MfcAppAdapter.dll
UMLEdi1.uml
UMLEdi2.uml
WindowsFormsIntegration.dll
WpfPageDemo.exe
WpfPageWndManager.dll
Legacy
Data
images
darrow.gif
dfarrow.gif
interface.gif
larrow.gif
lfarrow.gif
lrdiamond.gif
lrjog.gif
note.gif
partof.gif
rarrow.gif
rfarrow.gif
uarrow.gif
uddiamond.gif
udjog.gif
ufarrow.gif
Hosting
res
attach.cur
draw.cur
Toolbar.bmp
UMLEditorDemo.ico
UMLEditorDemoDoc.ico
up.cur
up.ico
UMLEditor
DiagramEditor
DiskObject
res
attach.cur
draw.cur
up.cur
up.ico
TextFile
UMLEditor2003
MdiFormsDemo
App.ico
MdiFormsWndManager
MfcAppAdapter
UMLEditor2005
MdiFormsDemo
Images
Class.gif
Copy.gif
Cut.gif
DisplSet.gif
Interface.gif
Label.gif
Link.gif
New.gif
Note.gif
Open.gif
Package.gif
Paste.gif
Print.gif
Save.gif
Template.gif
Properties
MdiFormsWndManager
MfcAppAdapter
MfcHost1Adapter
Properties
WpfPageDemo
App.ico
Properties
UmlData
UMLEdi1.uml
UMLEdi2.uml
WpfPageWndManager
Properties
MfcAdapterDemo
MfcAdapter
Include
MfcAdapter.chm
ProgrammingGuide_files
image001.gif
image002.gif
image003.gif
image004.gif
image005.jpg
image006.gif
image007.jpg
Samples
DlgEdi1.dlg
FormsDemo1.rtf
FormsDemo2.rtf
mnt.wrl
nefertiti.wrl
Src
include
Samples
DialogWiz
FormsDemo_DialogWiz
Properties
MixedMfcDlls
DialogWiz.vcxproj.filters
res
DialogWiz.ico
DialogWizDoc.ico
Toolbar.bmp
RowList
FormDemo
Properties
MixedMfcDlls
rldll
ClassDiagram1.cd
res
largeico.bmp
rlistdoc.ico
rowlist.ico
smallico.bmp
stateico.bmp
Toolbar.bmp
rowlist.mak
rowlist.vcxproj.filters
SimpleTest
res
SimpleTest.ico
SimpleTestDoc.ico
Toolbar.bmp
WpfPageDemo
App.ico
Properties
Resources
but1.png
but2.png
but3.png
but4.png
but5.png
UmlEditor
Data
DlgEdi1.dlg
FormsDemo1.rtf
FormsDemo2.rtf
UMLEdi1.uml
UMLEdi2.uml
FormsDemo
Properties
Resources
AddButton.bmp
AddCheckbox.bmp
AddCombobox.bmp
AddEdit.bmp
AddGroupbox.bmp
AddListbox.bmp
AddNone.bmp
AddRadiobutton.bmp
AddStatic.bmp
ButtonMultidraw.bmp
Class.gif
Copy.bmp
Copy.gif
Cut.bmp
Cut.gif
DisplSet.gif
Interface.gif
Label.gif
Link.gif
Margins.bmp
New.bmp
Note.gif
Open.bmp
Open.gif
Package.gif
Paste.bmp
Paste.gif
Print.bmp
Print.gif
Restrain.bmp
Save.bmp
Save.gif
Settings.bmp
ShowGrid.bmp
SnapToGrid.bmp
Template.gif
ZoomIn.bmp
ZoomOut.bmp
HostingSamples
MdiFormsDemo
MdiFormsDemo
Images
Class.gif
Copy.gif
Cut.gif
DisplSet.gif
Interface.gif
Label.gif
Link.gif
New.gif
Note.gif
Open.gif
Package.gif
Paste.gif
Print.gif
Save.gif
Template.gif
Properties
MdiFormsWndManager
MdiFormsWndManager.csproj.user
SdiFormsDemo
SdiFormsDemo
Properties
Resources
AddButton.bmp
AddCheckbox.bmp
AddCombobox.bmp
AddEdit.bmp
AddGroupbox.bmp
AddListbox.bmp
AddNone.bmp
AddRadiobutton.bmp
AddStatic.bmp
ButtonMultidraw.bmp
Class.gif
Copy.bmp
Copy.gif
Cut.bmp
Cut.gif
DisplSet.gif
Interface.gif
Label.gif
Link.gif
Margins.bmp
New.bmp
Note.gif
Open.bmp
Open.gif
Package.gif
Paste.bmp
Paste.gif
Print.bmp
Print.gif
Restrain.bmp
Save.bmp
Save.gif
Settings.bmp
ShowGrid.bmp
SnapToGrid.bmp
Template.gif
ZoomIn.bmp
ZoomOut.bmp
SdiFormsWndManager
MixedMfcDlls
DialogEditor
DiagramEditor
DialogEditorDemo.dsw
DialogEditorDemo.vcxproj.filters
DialogEditorDemo.vcxproj.user
res
bitmap1.bmp
DialogEditorDemo.ico
DialogEditorDemoDoc.ico
Toolbar.bmp
UMLEditor
Legacy
Data
images
darrow.gif
dfarrow.gif
interface.gif
larrow.gif
lfarrow.gif
lrdiamond.gif
lrjog.gif
note.gif
partof.gif
rarrow.gif
rfarrow.gif
uarrow.gif
uddiamond.gif
udjog.gif
ufarrow.gif
Hosting
res
attach.cur
draw.cur
Toolbar.bmp
UMLEditorDemo.ico
UMLEditorDemoDoc.ico
up.cur
up.ico
UMLEditor
DiagramEditor
DiskObject
res
attach.cur
draw.cur
up.cur
up.ico
TextFile
UMLEditor.vcxproj.filters
UMLEditor.vcxproj.user
WpfDemo
OPEN.BMP
Properties
Resources
Common
Copy.gif
Cut.gif
New.gif
Open.gif
Paste.gif
Print.gif
Save.gif
DlgEditor
AddButton.bmp
AddCheckbox.bmp
AddCombobox.bmp
AddEdit.bmp
AddGroupbox.bmp
AddListbox.bmp
AddNone.bmp
AddRadiobutton.bmp
AddStatic.bmp
ButtonMultidraw.bmp
Margins.bmp
Restrain.bmp
Settings.bmp
ShowGrid.bmp
SnapToGrid.bmp
ZoomIn.bmp
ZoomOut.bmp
UmlEditor
Class.gif
DisplSet.gif
Interface.gif
Label.gif
Link.gif
Note.gif
Package.gif
Template.gif
WpfPageDemo
App.ico
Properties
wrl_viewer
Data
mnt.wrl
nefertiti.wrl
venus.wrl
MixedMfcDlls
wrl_viewer
Lib3D
Mesh.clw
Mesh.plg
Mesh.vcxproj.filters
res
Mesh.ico
MeshDoc.ico
Toolbar.bmp
WpfPageDemo
App.ico
Properties
UMLEdi1.uml
UMLEdi2.uml
venus.wrl
Debug
MfcAppAdapter.dll
ViewControl.dll
ViewFrameworkElement.dll
MfcAdapter.chm
image001.gif
image002.gif
image003.gif
image004.gif
image005.jpg
image006.gif
image007.jpg
DialogEditor.dll
DialogWiz.dll
DlgEdi1.dlg
FormDemo_SimpleCtrl.exe
FormsDemo1.rtf
FormsDemo2.rtf
FormsDemo_DialogWiz.exe
FormsDemo_SimpleCtrl.exe
FormsDemo_UmlEditor.exe
MdiFormsDemo.exe
MdiFormsWndManager.dll
Mesh.dll
MfcAppAdapter.dll
mnt.wrl
nefertiti.wrl
RowList.dll
SdiFormsDemo.exe
SdiFormsWndManager.dll
SimpleCtrl.dll
Debug
MfcAppAdapter.dll
ViewControl.dll
ViewFrameworkElement.dll
DialogWiz.vcxproj.filters
DialogWiz.ico
DialogWizDoc.ico
Toolbar.bmp
ClassDiagram1.cd
largeico.bmp
rlistdoc.ico
rowlist.ico
smallico.bmp
stateico.bmp
Toolbar.bmp
rowlist.mak
rowlist.vcxproj.filters
SimpleTest.ico
SimpleTestDoc.ico
Toolbar.bmp
App.ico
but1.png