TIP: Click on subject to list as thread! ANSI
echo: qedit
to: ALL
from: JORJ STRUMOLO
date: 1997-11-09 03:40:00
subject: Re: Help on a Puzzler, Please

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.