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. peekMessage and Getmessage relatedquestion

peekMessage and Getmessage relatedquestion

Scheduled Pinned Locked Moved C / C++ / MFC
comtutorialquestion
3 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.
  • I Offline
    I Offline
    imran_rafique
    wrote on last edited by
    #1

    by using peekMessgae or GetMessage how to moniter a button that it is clicked ? can any write a little code ? r00d0034@yahoo.com

    P 1 Reply Last reply
    0
    • I imran_rafique

      by using peekMessgae or GetMessage how to moniter a button that it is clicked ? can any write a little code ? r00d0034@yahoo.com

      P Offline
      P Offline
      Peter Occil
      wrote on last edited by
      #2

      The parent of the button receives a WM_COMMAND message to notify it of events including button clicks. If the high word of wParam is BN_CLICKED and the low word of wParam is the ID of the button, the button was clicked. Next time, to make it easier on us, go into greater detail if you can. Peter O.

      T 1 Reply Last reply
      0
      • P Peter Occil

        The parent of the button receives a WM_COMMAND message to notify it of events including button clicks. If the high word of wParam is BN_CLICKED and the low word of wParam is the ID of the button, the button was clicked. Next time, to make it easier on us, go into greater detail if you can. Peter O.

        T Offline
        T Offline
        Tim Smith
        wrote on last edited by
        #3

        Ummmm.... Maybe he doesn't speak English as his native language. CP is a world wide site with users from every point on the globe. If you can't handle broken English, then you will find yourself very frustrated here. Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

        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