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. message box on minimize button cilicking

message box on minimize button cilicking

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
    ani_ikram
    wrote on last edited by
    #1

    when user click on minimize button on dialog to minimize window in to status bar and when click on status bar on that program to maximize that program i want to show some messages how can i do this

    N 1 Reply Last reply
    0
    • A ani_ikram

      when user click on minimize button on dialog to minimize window in to status bar and when click on status bar on that program to maximize that program i want to show some messages how can i do this

      N Offline
      N Offline
      Naveen
      wrote on last edited by
      #2

      Handle the WM_SYSCOMMAND message ( OnSysCommand ) and handle the mesasge when ID is SC_MAXIMIZE and SC_MINIMIZE .

      nave [OpenedFileFinder]

      A 1 Reply Last reply
      0
      • N Naveen

        Handle the WM_SYSCOMMAND message ( OnSysCommand ) and handle the mesasge when ID is SC_MAXIMIZE and SC_MINIMIZE .

        nave [OpenedFileFinder]

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

        yes its working but now i have two dialogs i want if on dialog minimize other should also minimize and when on of them is maximize other should also maximize

        D 1 Reply Last reply
        0
        • A ani_ikram

          yes its working but now i have two dialogs i want if on dialog minimize other should also minimize and when on of them is maximize other should also maximize

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

          And how are those two dialogs "related" to each other (e.g., modal, modeless, parent/child)? Do they belong to the same application? Does one create the other?

          "Love people and use things, not love things and use people." - Unknown

          "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

          A 1 Reply Last reply
          0
          • D David Crow

            And how are those two dialogs "related" to each other (e.g., modal, modeless, parent/child)? Do they belong to the same application? Does one create the other?

            "Love people and use things, not love things and use people." - Unknown

            "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

            A Offline
            A Offline
            ani_ikram
            wrote on last edited by
            #5

            that are in same application one dialog is showing on one monitor and on second monitor i am showing some greetings which are desinged in onPaint function i want to handle that greeting should maximize and minimize with that dialoge which r showing on first monitor

            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