Results 1 to 7 of 7

Thread: How can I tell if an extended key is down?

  1. #1
    Dreamlax
    Guest

    How can I tell if an extended key is down?

    If you have a Compaq Easy Access Keyboard (or a keyboard with with customizable buttons at the top) then you should know what I mean.

    On my keyboard it has 8 configurable buttons, but their functionality is very limited (executing a program / opening a web page / adjust volume). I want to make a program that allows it to do more than that, but 6 of the 8 keys return 255, the others return Asc("[") and Asc("]"). Anyone know if an API call can or anything that can get the key's actual value? Last time I used GetKeyboardState it made VB crash...

  2. #2
    sunnyl
    Guest
    I've got a Presario laptop with those buttons, but I don't think you can catch them with ascii codes. You probably know compaq has their own little program to catch those, perhaps you can squeeze it out of a compaq techie.....

  3. #3
    Dreamlax
    Guest
    Well Compaqs aren't known for their ease of programming... maybe the techie will tell me.

  4. #4
    sunnyl
    Guest
    well you got me interested, and I came across this.

    In the Components listing, there are controls called BttnAdv, CPQBCM and CPQREC. I had a brief look at it and it looks like its what you're after.

  5. #5
    Dreamlax
    Guest
    Uhhh, they aren't in my list... dang . Oh well, it's not the end of the world, I guess I'll just have to make shortcut keys using the ones I already can program (such as the Windows and "Right-Click" button).

  6. #6
    sunnyl
    Guest
    hmm...what model compaq do you have?

  7. #7
    Dreamlax
    Guest
    A crap one. It's just an old Deskpro, but I stole the keyboard from work, and the driver was on a CD... thought it might have been on there but it's not...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width