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. Create win32 modal child window

Create win32 modal child window

Scheduled Pinned Locked Moved C / C++ / MFC
question
14 Posts 5 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.
  • L led mike

    snir_ya wrote:

    What is the best way to implement a modal child window in win32?

    "Best" meaning "New and improved"? Or the "Best" because it has a 30 day money back guarantee?

    led mike

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

    (-: "Best" as the most "lean and mean". No body guarentees anythings nowadays. Sheer advise, my friend. Sheer advise.

    L 1 Reply Last reply
    0
    • S snir_ya

      (-: "Best" as the most "lean and mean". No body guarentees anythings nowadays. Sheer advise, my friend. Sheer advise.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #4

      snir_ya wrote:

      "Best" as the most "lean and mean".

      "Lean and mean" code as in development/maintenance overhead or runtime performance? Never mind I have lost interest now since it has taken you at a minimum three posts to explain your request.

      led mike

      S 1 Reply Last reply
      0
      • L led mike

        snir_ya wrote:

        "Best" as the most "lean and mean".

        "Lean and mean" code as in development/maintenance overhead or runtime performance? Never mind I have lost interest now since it has taken you at a minimum three posts to explain your request.

        led mike

        S Offline
        S Offline
        snir_ya
        wrote on last edited by
        #5

        Intresring - i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question" and yet i'm being bullyied by a clown. Cheers mate. Chris - please revoke Mike's code project ribon.

        C L 2 Replies Last reply
        0
        • S snir_ya

          Intresring - i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question" and yet i'm being bullyied by a clown. Cheers mate. Chris - please revoke Mike's code project ribon.

          C Online
          C Online
          CPallini
          wrote on last edited by
          #6

          snir_ya wrote:

          ntresring - i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question"

          Perhaps you missed point 2. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          [my articles]

          1 Reply Last reply
          0
          • S snir_ya

            Hi, What is the best way to implement a modal child window in win32? Thanks in advance. Snir Yarom.

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

            snir_ya wrote:

            ...modal child window...

            :confused: Could you be a tad less discrete, or perhaps provide an example of what you are after?

            "Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            1 Reply Last reply
            0
            • S snir_ya

              Intresring - i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question" and yet i'm being bullyied by a clown. Cheers mate. Chris - please revoke Mike's code project ribon.

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #8

              snir_ya wrote:

              i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question"

              Really you consider your original post to be "specific"? In that case you might want to consider this[^].

              led mike

              C 1 Reply Last reply
              0
              • L led mike

                snir_ya wrote:

                i've followed each and every commandment stated in Chris Maunder's "How to get an answer to your question"

                Really you consider your original post to be "specific"? In that case you might want to consider this[^].

                led mike

                C Online
                C Online
                CPallini
                wrote on last edited by
                #9

                In the pink, today? :laugh:

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                [my articles]

                L 1 Reply Last reply
                0
                • S snir_ya

                  Hi, What is the best way to implement a modal child window in win32? Thanks in advance. Snir Yarom.

                  M Offline
                  M Offline
                  Mark Salsbery
                  wrote on last edited by
                  #10

                  modal like a modal dialog? If so, that means the user must dismiss the window before (s)he can do anything else. To do that, 1) disable other windows 2) create the window 3) run a message loop until the modal window is closed/dismissed 4) enable other windows 5) destroy the modal window Mark

                  Mark Salsbery Microsoft MVP - Visual C++ :java:

                  C S 2 Replies Last reply
                  0
                  • C CPallini

                    In the pink, today? :laugh:

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    [my articles]

                    L Offline
                    L Offline
                    led mike
                    wrote on last edited by
                    #11

                    CPallini wrote:

                    In the pink, today?

                    Maybe, but some of these goons make it as easy as falling off a log[^].

                    led mike

                    1 Reply Last reply
                    0
                    • M Mark Salsbery

                      modal like a modal dialog? If so, that means the user must dismiss the window before (s)he can do anything else. To do that, 1) disable other windows 2) create the window 3) run a message loop until the modal window is closed/dismissed 4) enable other windows 5) destroy the modal window Mark

                      Mark Salsbery Microsoft MVP - Visual C++ :java:

                      C Online
                      C Online
                      CPallini
                      wrote on last edited by
                      #12

                      I would swap (4) with (5), but maybe I'm wrong.

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      [my articles]

                      M 1 Reply Last reply
                      0
                      • C CPallini

                        I would swap (4) with (5), but maybe I'm wrong.

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        [my articles]

                        M Offline
                        M Offline
                        Mark Salsbery
                        wrote on last edited by
                        #13

                        Either way...whichever way is most pleasing to the user. All the repaints resulting in the destruction and re-enabling will determine that I suppose :) Mark

                        Mark Salsbery Microsoft MVP - Visual C++ :java:

                        1 Reply Last reply
                        0
                        • M Mark Salsbery

                          modal like a modal dialog? If so, that means the user must dismiss the window before (s)he can do anything else. To do that, 1) disable other windows 2) create the window 3) run a message loop until the modal window is closed/dismissed 4) enable other windows 5) destroy the modal window Mark

                          Mark Salsbery Microsoft MVP - Visual C++ :java:

                          S Offline
                          S Offline
                          snir_ya
                          wrote on last edited by
                          #14

                          Thank you so much Mark. You're answer is prudent and accurate. I must say that I have begun to doubt my coherency during this thread. There's an obvious correlation between one's willingness to help and his understanding of the question.

                          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