CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: SDI to MDI

  1. #1
    Join Date
    Mar 2004
    Posts
    32

    SDI to MDI

    Hi,

    is it possible to make single document interface to Multiple Document interface. If yes.. How.

    How to make SDI to MDI


    thanking You

    Rams

  2. #2
    Join Date
    Aug 2008
    Location
    Scotland
    Posts
    379

    Re: SDI to MDI

    Hi Rams,

    Do you mean you have a project that is using SDI, and you want to convert it to use MDI?

    I've ported from MDI - > SDI with some success, but not vice-versa. I found the best way to do it was to create two empty projects, one SDI and one MDI, and use windiff to compare them.

    Cheers,
    Alan

  3. #3
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: SDI to MDI

    Yes, it's possible. You have to change some base classes and use appropriate document template. Alan's suggestion is the best, I guess: compare two dummy SDI and MDI projects, see the differences and try to apply that to your project.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured