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. dialog box

dialog box

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorial
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.
  • A Offline
    A Offline
    amit code
    wrote on last edited by
    #1

    i am on mfc dialog based. how to open a new dialog box on clicking the button . prashant jain

    A S H 3 Replies Last reply
    0
    • A amit code

      i am on mfc dialog based. how to open a new dialog box on clicking the button . prashant jain

      A Offline
      A Offline
      ashish dogra
      wrote on last edited by
      #2

      CClassname dlg; dlg.DoModa(); Ashish Dogra MCA Noida

      1 Reply Last reply
      0
      • A amit code

        i am on mfc dialog based. how to open a new dialog box on clicking the button . prashant jain

        S Offline
        S Offline
        songlei
        wrote on last edited by
        #3

        //the CNewDlg is new dialog box class //add these code to button proc //(my english is very poor) //ex: void COldDlg::OnButton1() { CNewDlg dlg; dlg.DoModal(); }

        1 Reply Last reply
        0
        • A amit code

          i am on mfc dialog based. how to open a new dialog box on clicking the button . prashant jain

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

          m_Dialog.DoModal(); or m_Dialog.Create(IDD_YOURDIALOG); m_Dialog.ShowWindow(1);_**


          **_

          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