Advertisement

VK_? for the Tilda?

Started by June 05, 2000 12:51 AM
10 comments, last by Esap1 24 years, 6 months ago
Like VK_RETURN and VK_A, whats it for the Tilda, you know the console thing, ~, later,
try the ascii equivalent in hex.

a2k
------------------General Equation, this is Private Function reporting for duty, sir!a2k
Advertisement
The Ascii code of '~' is 126, in hex is 7E, So I tried 0x7E but it didnt work. Isnt there a define VK_TILDA or something.(there is no VK_TILDA, which is what my problem is).

Edited by - Esap1 on June 5, 2000 2:26:34 AM
I may be wrong, but isn''t it "tilde" and not "tilda"?? You might check in the header file, to see if there is any VK constant with a comment next to it that says it stands for that key... You also might try just using the key in quotes (as in ''~''). I know that should be the same as using the hex or deciman ascii value, but it''s just something to try...
Actually, just yesterday, I was trying to use the tilde, and I tried VK_TILDE, but it didn''t work. (And neither did the ASCII code... actually I don''t think I tried the code for ''`'', maybe that''s it). Time to look through WINDOWS.H...
Cereal Killah might be right. Is there a VK_BACKQUOTE or something like that? That is what the funny little backwards apostrophe on that key is called (`)
Advertisement
Ok, I don''t know what the VK_ constant is, but the value is 192.
How da heck u figure that out, a guess and test?
Oh yeah, thanks

Edited by - Esap1 on June 5, 2000 6:16:48 PM
VK_BACK_QUOTE? I am not really sure. The ~ is the shifted version of the ` character, so VK_BACK_QUOTE is what I would guess.

-Andreas
-Andreas
Try this-

#define DIK_GRAVE 0x29 /* accent grave */

This topic is closed to new replies.

Advertisement