Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Converting MDI application to SDI

134 views
Skip to first unread message

intell1

unread,
Oct 6, 2005, 10:00:30 AM10/6/05
to
Can someone please provide pointers on the conversion of an
--exisisting-- MDI application into SDI? Are there any online sources of
information on this? I would be particularly interested in a systematic
procedure to accomplish the conversion.

Thanks in advance,

Nikolas

Tom Serface

unread,
Oct 6, 2005, 11:26:56 AM10/6/05
to
Why do you want to convert from MDI to SDI. You could simulate SDI by
making the client window fill the mainframe and removing the system menu
choices to change it from title bar. If you do this and you ever need MDI
in the future it will be tons easiler to switch back. However, if you do
want to switch I would create a new project with the settings you want and
either cut and paste your old appliation into it vice versa from the SDA app
and mainframe code to the older one. There are lots of things created
automagically for you by the new project wizard so unless your application
is huge it will be easier to move the old code to a new base if you want to
go this route (in my opinion).

Tom

"intell1" <int...@thestep.gr> wrote in message
news:di340p$103$1...@volcano1.grnet.gr...

Joseph M. Newcomer

unread,
Oct 8, 2005, 7:54:17 PM10/8/05
to
I concur entirely. I have only ever written two SDI apps in my MFC career, and both of
these proved to be fundamental mistakes and had to be converted to MDI. Bottom line is
that I avoid SDI entirely.
joe

Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

0 new messages