Announcement

Collapse
No announcement yet.

Waitkey$ extended keyboard code table?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Aleksandr Dobrev
    replied
    Originally posted by Daniel Corbier View Post
    Is there an official list?
    http://msdn2.microsoft.com/en-us/library/ms645540.aspx
    and
    http://www.math.msu.su/~vfnik/WinApi/other/virtualkeycodes.html

    Leave a comment:


  • Albert Richheimer
    replied
    Originally posted by Daniel Corbier View Post
    I actually already have a list of the key codes that I needed, and I know that I can find the others experimentally/programmatically. However, I need to know how to write this up in my help file. For instance, I’d want to tell people to look at topic xyz in the MSDN for the official list of extended codes they could use.
    Daniel, I'm afraid there is no such list. I had to do some hacking myself when creating my KMIGET function. See here.

    Cheers
    Albert

    Leave a comment:


  • Daniel Corbier
    started a topic Waitkey$ extended keyboard code table?

    Waitkey$ extended keyboard code table?

    I wanted to allow users of my interpreter to configure extended keys such as F1 through F12 and others, letting them associate a string of their choice with the corresponding extended key code. The Waitkey$ help file topic gives Chr$(0, 59) as an example where 59 is the extended key code for F1.

    I figured that perhaps in the MSDN, WinAPI, or somewhere, I’d find a table that lists all extended key codes that Waitkey$ recognizes. However, I searched but couldn’t find it. Is there an official list? In the WinAPI file, under “Virtual Keys, Standard Set”, I found constants such as, %VK_F1, %VK_F2, etc… But the values for those do not seem to match the values used by Waitkey$. Are Waitkey$ extended codes unique to PB?

    I actually already have a list of the key codes that I needed, and I know that I can find the others experimentally/programmatically. However, I need to know how to write this up in my help file. For instance, I’d want to tell people to look at topic xyz in the MSDN for the official list of extended codes they could use.

    I did a search, and found a link for a similar question.

    http://www.powerbasic.com/support/pb...4+extended+key

    But the answer involved generating the codes, instead of saying whether there’s an official published list, which is really what I'm after:
Working...
X