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. SendMessage

SendMessage

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

    Hi Guys, I want to send a "SendMessage" from within my windowControl as follows,by passing a return key. MyControl.SendMessage(WM_KEYDOWN,13); What macro do I have to include in my messagemap & which meesagehandler should I include to take care of my message.. Thanks

    G 1 Reply Last reply
    0
    • P Pazzuzu

      Hi Guys, I want to send a "SendMessage" from within my windowControl as follows,by passing a return key. MyControl.SendMessage(WM_KEYDOWN,13); What macro do I have to include in my messagemap & which meesagehandler should I include to take care of my message.. Thanks

      G Offline
      G Offline
      Ganesh_T
      wrote on last edited by
      #2

      Send message doesn't rewire any macro to be handled.. If you are saying about WM_KEYDOWN then you have to hanfle that Message. Cheers "Peace of mind through Technology"

      P 1 Reply Last reply
      0
      • G Ganesh_T

        Send message doesn't rewire any macro to be handled.. If you are saying about WM_KEYDOWN then you have to hanfle that Message. Cheers "Peace of mind through Technology"

        P Offline
        P Offline
        Pazzuzu
        wrote on last edited by
        #3

        Okay,So u meant to say that I habe to catch it in the "OnKeyDown" messageHandler...

        G T 2 Replies Last reply
        0
        • P Pazzuzu

          Okay,So u meant to say that I habe to catch it in the "OnKeyDown" messageHandler...

          G Offline
          G Offline
          Ganesh_T
          wrote on last edited by
          #4

          yes Cheers "Peace of mind through Technology"

          P 1 Reply Last reply
          0
          • G Ganesh_T

            yes Cheers "Peace of mind through Technology"

            P Offline
            P Offline
            Pazzuzu
            wrote on last edited by
            #5

            Okay,Thanks Ganesh...

            1 Reply Last reply
            0
            • P Pazzuzu

              Okay,So u meant to say that I habe to catch it in the "OnKeyDown" messageHandler...

              T Offline
              T Offline
              ThatsAlok
              wrote on last edited by
              #6

              Pazzuzu wrote:

              Okay,So u meant to say that I habe to catch it in the "OnKeyDown"messageHandler...

              but you have to handle WM_KEYDOWN message for that!

              "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

              cheers, Alok Gupta VC Forum Q&A :- I/ IV

              P 1 Reply Last reply
              0
              • T ThatsAlok

                Pazzuzu wrote:

                Okay,So u meant to say that I habe to catch it in the "OnKeyDown"messageHandler...

                but you have to handle WM_KEYDOWN message for that!

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                cheers, Alok Gupta VC Forum Q&A :- I/ IV

                P Offline
                P Offline
                Pazzuzu
                wrote on last edited by
                #7

                yeah,Thanks

                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