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. What WM_??? does "ShowWindow" actually call and send

What WM_??? does "ShowWindow" actually call and send

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 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.
  • S Offline
    S Offline
    Stan the man
    wrote on last edited by
    #1

    Hi. I was just wondering what exactly does ShowWindow(...) call (WM_ ???) ? I looked around but it does not seem that it calls WM_SHOWWINDOW. I want to send this message to another application with SW_HIDE etc... Thanks in advance. Stan the man

    L C 2 Replies Last reply
    0
    • S Stan the man

      Hi. I was just wondering what exactly does ShowWindow(...) call (WM_ ???) ? I looked around but it does not seem that it calls WM_SHOWWINDOW. I want to send this message to another application with SW_HIDE etc... Thanks in advance. Stan the man

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I think you will find this page[^] and this one[^] give the details.

      Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

      1 Reply Last reply
      0
      • S Stan the man

        Hi. I was just wondering what exactly does ShowWindow(...) call (WM_ ???) ? I looked around but it does not seem that it calls WM_SHOWWINDOW. I want to send this message to another application with SW_HIDE etc... Thanks in advance. Stan the man

        C Offline
        C Offline
        Code o mat
        wrote on last edited by
        #3

        If i am correct then you ran into the same misunderstanding i did long long time ago. You don't show or hide a window by sending it WM_SHOWWINDOW. It geta this message when it is shown or hidden, but not to show or hide it. As far as i know ShowWindow basically sets the WS_BISIBLE style of the given window, it might also perform some additonal tasks like redrawing, sending messages, don't know the rest.

        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > If it doesn't matter, it's antimatter.<

        S 1 Reply Last reply
        0
        • C Code o mat

          If i am correct then you ran into the same misunderstanding i did long long time ago. You don't show or hide a window by sending it WM_SHOWWINDOW. It geta this message when it is shown or hidden, but not to show or hide it. As far as i know ShowWindow basically sets the WS_BISIBLE style of the given window, it might also perform some additonal tasks like redrawing, sending messages, don't know the rest.

          > The problem with computers is that they do what you tell them to do and not what you want them to do. < > If it doesn't matter, it's antimatter.<

          S Offline
          S Offline
          Stan the man
          wrote on last edited by
          #4

          Hi. I will try this. I think that is what I have been mixed up about. Thanks for the insight. Stan the man

          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