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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. windows keyboard hook / postmessage / sendmessage

windows keyboard hook / postmessage / sendmessage

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorial
5 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.
  • V Offline
    V Offline
    viral_umang hotmail com
    wrote on last edited by
    #1

    hi want change virtual key code from ascii(65) to ascii(235) in my windows hook dll. i able to do upto ascii(127) i.e. 7 bit but not 8th bit. can any one help how to do so. i am also looking solution for ascii to unicode. thank you viral

    C A 2 Replies Last reply
    0
    • V viral_umang hotmail com

      hi want change virtual key code from ascii(65) to ascii(235) in my windows hook dll. i able to do upto ascii(127) i.e. 7 bit but not 8th bit. can any one help how to do so. i am also looking solution for ascii to unicode. thank you viral

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      viral_umang@hotmail.com wrote:

      hi want change virtual key code from ascii(65) to ascii(235) in my windows hook dll. i able to do upto ascii(127) i.e. 7 bit but not 8th bit. can any one help how to do so.

      I don't know what you are trying to do but it looks like you are using a char instead of an unsigned char. A char is signed so it goes up to 127 and not 255.


      Cédric Moonen Software developer
      Charting control [v1.1]

      V 1 Reply Last reply
      0
      • C Cedric Moonen

        viral_umang@hotmail.com wrote:

        hi want change virtual key code from ascii(65) to ascii(235) in my windows hook dll. i able to do upto ascii(127) i.e. 7 bit but not 8th bit. can any one help how to do so.

        I don't know what you are trying to do but it looks like you are using a char instead of an unsigned char. A char is signed so it goes up to 127 and not 255.


        Cédric Moonen Software developer
        Charting control [v1.1]

        V Offline
        V Offline
        viral_umang hotmail com
        wrote on last edited by
        #3

        hi, thank you very much to reply so fast. i am from india, i have created keyboard hook for changing the keyboard's key's from say 'a' to 'b' so, i am able to get 'b' when i press key 'a' of my keyboard. I am able to do this by changing the vitrual keycode in my hook procedure. so i want now is that i should get a font's symbol at 235 but i am not able to get the virtual key code for ascii 235. thanks, Viral

        C 1 Reply Last reply
        0
        • V viral_umang hotmail com

          hi, thank you very much to reply so fast. i am from india, i have created keyboard hook for changing the keyboard's key's from say 'a' to 'b' so, i am able to get 'b' when i press key 'a' of my keyboard. I am able to do this by changing the vitrual keycode in my hook procedure. so i want now is that i should get a font's symbol at 235 but i am not able to get the virtual key code for ascii 235. thanks, Viral

          C Offline
          C Offline
          Cedric Moonen
          wrote on last edited by
          #4

          Well, you don't provide a lot of information do you ? Did you check what I said in my previous post ? Can you post the code because it is impossible what you did wrong by just guessing it.


          Cédric Moonen Software developer
          Charting control [v1.1]

          1 Reply Last reply
          0
          • V viral_umang hotmail com

            hi want change virtual key code from ascii(65) to ascii(235) in my windows hook dll. i able to do upto ascii(127) i.e. 7 bit but not 8th bit. can any one help how to do so. i am also looking solution for ascii to unicode. thank you viral

            A Offline
            A Offline
            AprNgp
            wrote on last edited by
            #5

            viral_umang@hotmail.com wrote:

            i able to do upto ascii(127) i.e. 7 bit but not 8th bit. can any one help how to do so.

            Wat r u using , char, try using TCHAR.

            Apurv

            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