Path: 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 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