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.
But the answer involved generating the codes, instead of saying whether there’s an official published list, which is really what I'm after:
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.
But the answer involved generating the codes, instead of saying whether there’s an official published list, which is really what I'm after:
Comment