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 associted with number?

message associted with number?

Scheduled Pinned Locked Moved C / C++ / MFC
questiondebugging
2 Posts 2 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 All, I have implemented a simple application, the WndProc method handle all messages, but when I debug the application I could see only numbers, How can i know which message is associted with that perticular number? more precisely I want know which number(message) WndProc handles when I minimize the application?

    E 1 Reply Last reply
    0
    • S sam_psycho

      Hi All, I have implemented a simple application, the WndProc method handle all messages, but when I debug the application I could see only numbers, How can i know which message is associted with that perticular number? more precisely I want know which number(message) WndProc handles when I minimize the application?

      E Offline
      E Offline
      Eytukan
      wrote on last edited by
      #2

      WM_SIZE & SIZE_MINIMIZED. winuser.h If you want to know all the definitions, just right click on any of the windows Constant. like WM_SIZE, then go to definition. You'll land up in the junkyard of windows definitions WinUser.h. But it'll be in Hex as you can see.So don't search for the exact number that you get in your WndProc. Sorry I'm editing the text for the zillionth time.- You should check for SIZE_MINIMIZED in wParam of the message.

      He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus

      modified on Friday, March 6, 2009 12:59 PM

      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