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. Need help on how to move from one dialog back and next

Need help on how to move from one dialog back and next

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
9 Posts 5 Posters 1 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.
  • J Offline
    J Offline
    John502
    wrote on last edited by
    #1

    Hi, I Have created 3 dialog boxes in my application, i want to move 3 dialog boxes using back and next.. with out loosing the dialog box selection state.. Can any one help me regarding this..? Thanks in advance...

    I H E 3 Replies Last reply
    0
    • J John502

      Hi, I Have created 3 dialog boxes in my application, i want to move 3 dialog boxes using back and next.. with out loosing the dialog box selection state.. Can any one help me regarding this..? Thanks in advance...

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      That would be called a wizard. Do a search for Property Page, Property Sheet, or for MCF, CPropertyPage / CPropertySheet. Good luck, Iain.

      Codeproject MVP for C++, I can't believe it's for my lounge posts...

      J 1 Reply Last reply
      0
      • J John502

        Hi, I Have created 3 dialog boxes in my application, i want to move 3 dialog boxes using back and next.. with out loosing the dialog box selection state.. Can any one help me regarding this..? Thanks in advance...

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

        Tabs, Property Pages and Wizards[^].

        Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

        J 1 Reply Last reply
        0
        • J John502

          Hi, I Have created 3 dialog boxes in my application, i want to move 3 dialog boxes using back and next.. with out loosing the dialog box selection state.. Can any one help me regarding this..? Thanks in advance...

          E Offline
          E Offline
          Eytukan
          wrote on last edited by
          #4

          May be SetWindowPos() can help? You can make use of the "insert-after" parameter. Thought it was "back-n-forth".

          He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

          modified on Wednesday, March 4, 2009 6:03 AM

          J 1 Reply Last reply
          0
          • H Hamid Taebi

            Tabs, Property Pages and Wizards[^].

            Of one Essence is the human race thus has Creation put the base One Limb impacted is sufficient For all Others to feel the Mace (Saadi )

            J Offline
            J Offline
            John502
            wrote on last edited by
            #5

            Hi, Thanks for your help on this.., i don't want tabs in single dialog. Below i am explaining my scenario: 1. I have two dialog boxes, have two buttons on each dialog, and have to move (shuffle) from one dialog to other.. Can you please explain how i have to achieve this..? Thanks in advance.

            1 Reply Last reply
            0
            • I Iain Clarke Warrior Programmer

              That would be called a wizard. Do a search for Property Page, Property Sheet, or for MCF, CPropertyPage / CPropertySheet. Good luck, Iain.

              Codeproject MVP for C++, I can't believe it's for my lounge posts...

              J Offline
              J Offline
              John502
              wrote on last edited by
              #6

              Hi, Thanks for your help on this.., i don't want tabs in single dialog. Below i am explaining my scenario: 1. I have two dialog boxes, have two buttons on each dialog, and have to move (shuffle) from one dialog to other.. Can you please explain how i have to achieve this..? Thanks in advance

              D 1 Reply Last reply
              0
              • E Eytukan

                May be SetWindowPos() can help? You can make use of the "insert-after" parameter. Thought it was "back-n-forth".

                He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

                modified on Wednesday, March 4, 2009 6:03 AM

                J Offline
                J Offline
                John502
                wrote on last edited by
                #7

                Hi, Thanks for your help on this.., i don't want tabs in single dialog. Below i am explaining my scenario: 1. I have two dialog boxes, have two buttons on each dialog, and have to move (shuffle) from one dialog to other.. Can you please explain how i have to achieve this.. Thanks in advance

                E 1 Reply Last reply
                0
                • J John502

                  Hi, Thanks for your help on this.., i don't want tabs in single dialog. Below i am explaining my scenario: 1. I have two dialog boxes, have two buttons on each dialog, and have to move (shuffle) from one dialog to other.. Can you please explain how i have to achieve this.. Thanks in advance

                  E Offline
                  E Offline
                  Eytukan
                  wrote on last edited by
                  #8

                  Then you can use SetWindowPos. First of all you need to create them as "Modaless" dialogs. Which can be created using "Create" call rather than using "DoModal". Then you can simply call SetWidowPos and pass the other CDialog's pointer as the first parameter. It gets shuffled by that. You need to do it vice-versa in the other dialog. So that it works both ways.

                  He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

                  1 Reply Last reply
                  0
                  • J John502

                    Hi, Thanks for your help on this.., i don't want tabs in single dialog. Below i am explaining my scenario: 1. I have two dialog boxes, have two buttons on each dialog, and have to move (shuffle) from one dialog to other.. Can you please explain how i have to achieve this..? Thanks in advance

                    D Offline
                    D Offline
                    David Crow
                    wrote on last edited by
                    #9

                    John502 wrote:

                    i don't want tabs...

                    There aren't any tabs with a "wizard."

                    "Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

                    "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                    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