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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Multiple dialogs

Multiple dialogs

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 3 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
    Ashman
    wrote on last edited by
    #1

    Hi, I was wondering how I might be able to have multiple child dialogs opening off of the main dialog? What I mean is, when I click a button in my main dialog to open another dialog using CDialog dlg; dlg.DoModal(); it will open the other dialog but I cannot access the main dialog unless I closed the newly opened one. How can I get around this so I can focus the main dialog when the opened dialog is open? Thanks Ash

    M 1 Reply Last reply
    0
    • A Ashman

      Hi, I was wondering how I might be able to have multiple child dialogs opening off of the main dialog? What I mean is, when I click a button in my main dialog to open another dialog using CDialog dlg; dlg.DoModal(); it will open the other dialog but I cannot access the main dialog unless I closed the newly opened one. How can I get around this so I can focus the main dialog when the opened dialog is open? Thanks Ash

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #2

      you need to create **_modeless_** dialogs ...


      Maximilien Lincourt Your Head A Splode - Strong Bad

      A 1 Reply Last reply
      0
      • M Maximilien

        you need to create **_modeless_** dialogs ...


        Maximilien Lincourt Your Head A Splode - Strong Bad

        A Offline
        A Offline
        Ashman
        wrote on last edited by
        #3

        This sounds dumb....but how? hehe Thanks

        A 1 Reply Last reply
        0
        • A Ashman

          This sounds dumb....but how? hehe Thanks

          A Offline
          A Offline
          Ashman
          wrote on last edited by
          #4

          Sorry ill rephrase that... how do I make it a modeless dialog?

          RaviBeeR 1 Reply Last reply
          0
          • A Ashman

            Sorry ill rephrase that... how do I make it a modeless dialog?

            RaviBeeR Offline
            RaviBeeR Offline
            RaviBee
            wrote on last edited by
            #5

            A nice tutorial on modeless (and modal) dialogs is available here[^]. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com

            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