Article View: comp.windows.misc
Article #156Re: no-echo input
From: Gary Koerzendorfer
Date: Thu, 31 May 1990 19:02
Date: Thu, 31 May 1990 19:02
21 lines
1429 bytes
1429 bytes
williams@umaxc.weeg.uiowa.edu (Kent Williams) writes:
> In article <102@bohra.cpg.oz> ejp@bohra.cpg.oz.au (Esmond Pitt) writes:
> >Is it possible to accept input without echo (e.g. password fields) under:
> >
> > (1) MS-Windows
Check out "subclassing" in an MS-Windows book, specifically the call
"SetWindowLong". You don't want to echo anything, not even a dummy char, because
this would reveal the length of the password.
> ... you can set the foreground and background colors the same.
This is a clever trick! In X it's subject to being overridden unless you
explicitly set the colors in the code, rather than the resource file. I think
I'd rather do it 'right', however, just in case.
hphphphphphphphphphphphphphphphphphphphphphphphphphphphphphphphphphphphphphphp
Gary Koerzendorfer gdk@hpda.hp.com
Hewlett-Packard (408) 447-2231
indindindindindindindindindindindindindindindindindindindindindindindindindind
Technical Details
Message-ID:
<4760003@hpindda.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpcc01!hpcuhb!hpindda!gdkReferences:
<102@bohra.cpg.oz>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpcc01!hpcuhb!hpindda!gdk From: gdk@hpindda.HP.COM (Gary Koerzendorfer) Newsgroups: comp.windows.misc Subject: Re: no-echo input Message-ID: <4760003@hpindda.HP.COM> Date: 31 May 90 19:02:01 GMT References: <102@bohra.cpg.oz> Organization: HP Information Networks, Cupertino, CA Lines: 21