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. WM_WINDOWPOSCHANING??

WM_WINDOWPOSCHANING??

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

    Hi, Please anyone can tell in which type of window our application does not get WM_WINDOWPOSCHANING message, What type of window I need to create so that i'll get this message in my application. thanx in advance.

    A 1 Reply Last reply
    0
    • S sam_psycho

      Hi, Please anyone can tell in which type of window our application does not get WM_WINDOWPOSCHANING message, What type of window I need to create so that i'll get this message in my application. thanx in advance.

      A Offline
      A Offline
      Akt_4_U
      wrote on last edited by
      #2

      I think Windows will send WM_WINDOWPOSCHANING message for all type of windows. There is no exception in this case.

      prvn

      S 1 Reply Last reply
      0
      • A Akt_4_U

        I think Windows will send WM_WINDOWPOSCHANING message for all type of windows. There is no exception in this case.

        prvn

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

        would u please give me sample code to trap this messagfe in dialog based application.

        D 1 Reply Last reply
        0
        • S sam_psycho

          would u please give me sample code to trap this messagfe in dialog based application.

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

          The same way you would any other message. If you are using VS6, open ClassWizard (Ctrl+W) and click the Class Info tab. In the Message filter combobox, select Window. Now go back to the Message Maps tab. Look in the Messages listbox for WM_WINDOWPOSCHANGING. Using VS200x is similar but I do not have it in front of me.

          "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