Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Insert a dialog inside SDI(Pls reply me)

Insert a dialog inside SDI(Pls reply me)

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialcareer
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TobetheWinner
    wrote on last edited by
    #1

    I'm developing a dialog based application.Due to some issue i need to insert the dialog inside SDI.So can you pls tell me how to do that job.... Thanks a lot. bu

    R R H 3 Replies Last reply
    0
    • T TobetheWinner

      I'm developing a dialog based application.Due to some issue i need to insert the dialog inside SDI.So can you pls tell me how to do that job.... Thanks a lot. bu

      R Offline
      R Offline
      Roger Stoltz
      wrote on last edited by
      #2

      I assume this is about how to add the dialog and its resources to the SDI project.

      1. Copy the source files for the dialog to the SDI project folder.
      2. Open the resource files (*.rc) for both projects and copy the dialog resource from your dialog project to your SDI project.
      3. Add resource IDs for all the resources in your dialog in resource.h for the SDI project, don't forget the resource ID for the dialog itself. You can view all the required resources in the .rc file, they usually start with IDC_. Make sure the values don't collide with existing values in the SDI project.

      "It's supposed to be hard, otherwise anybody could do it!" - selfquote
      "High speed never compensates for wrong direction!" - unknown

      1 Reply Last reply
      0
      • T TobetheWinner

        I'm developing a dialog based application.Due to some issue i need to insert the dialog inside SDI.So can you pls tell me how to do that job.... Thanks a lot. bu

        R Offline
        R Offline
        Rajkumar R
        wrote on last edited by
        #3

        Hi, I assume you need dialog to be displayed as SDI View. You can use CFormView Derived class for your old dialog. on the resource view using class wizard you can add class for dialog to CFormView derived class. Then set the CFormView derived view as SDI view. Best Regards

        1 Reply Last reply
        0
        • T TobetheWinner

          I'm developing a dialog based application.Due to some issue i need to insert the dialog inside SDI.So can you pls tell me how to do that job.... Thanks a lot. bu

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          I think you want to insert CFormView class to your project,right?


          WhiteSky


          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups