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. Window Message

Window Message

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.
  • W Offline
    W Offline
    wangyiming
    wrote on last edited by
    #1

    when a modeless dialog is visible, I click mouse outside the dialog , windows send what message by the dialog? Thank you very much!

    R V 2 Replies Last reply
    0
    • W wangyiming

      when a modeless dialog is visible, I click mouse outside the dialog , windows send what message by the dialog? Thank you very much!

      R Offline
      R Offline
      Rickard Andersson20
      wrote on last edited by
      #2

      When a dialog have loses the focus or get focus it's WM_SETFOCUS with WPARAM I think with TRUE if the dialog is on focus or FALSE if not.... ------------------------------ ©0d3 ©®4©k3® - That's me! :) ------------------------------

      W 1 Reply Last reply
      0
      • W wangyiming

        when a modeless dialog is visible, I click mouse outside the dialog , windows send what message by the dialog? Thank you very much!

        V Offline
        V Offline
        Vladimir Georgiev
        wrote on last edited by
        #3

        Windows sends WM_NC(something) that stands for No Client. "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

        1 Reply Last reply
        0
        • R Rickard Andersson20

          When a dialog have loses the focus or get focus it's WM_SETFOCUS with WPARAM I think with TRUE if the dialog is on focus or FALSE if not.... ------------------------------ ©0d3 ©®4©k3® - That's me! :) ------------------------------

          W Offline
          W Offline
          wangyiming
          wrote on last edited by
          #4

          Thank: Vladimir Georgiev, Rickard Andersson the Message is : WM_NCACTIVATE

          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