From: Jorj Strumolo
Eric Stork writes:
ES> Questions: Is a "reserved key" in WIN 3.11?
No, but it does get processed differently. Run ShowKey().
In DOS you get the first line, in Windows the next *three*.
ASCII Scan Hex Dec Key
Code Code Name
0 55 3700 14080
0 56 3800 14336
0 56 3800 14336
0 56 3800 14336
You get two from , and another when you release
. It's that's a special key in Windows. And it's
*not* one of the Reserve Shortcut keys you can turn off in
the Advanced section of a PIF. I had thought of a possible way
around that (since I, too, use , as "*" for me), by
including it as one of the things I do when I test for Windows
at startup, as in this one at Main():
if Length(GetEnvStr("windir")) LoadMacro('CUAmark') endif
I never got it to work right, however. This *half* works for me:
keydef WinAltKey // before Main()
InsertText("*")
end
if Length(GetEnvStr("windir")) Enable(WinAltKey) endif // at Main()
This correctly changes the first two s into "*" for me, but
when I release the , I'm left with a two-key prompt of
waiting for completion, and a PushKey() didn't clear that.
There's probably a way to do it somehow.
--
Jorj.Strumolo@chowda.com * Fido 1:323/140 * jorj@wsii.com
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)
|