By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,820 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,820 IT Pros & Developers. It's quick & easy.

Password - Console

P: 57
How can i make a password to be no one will see it ?

Example:

***********
Jun 27 '06 #1
Share this Question
Share on Google+
5 Replies


Banfa
Expert Mod 5K+
P: 8,916
Apply the ES_PASSWORD edit style to the Edit box in question.
Jun 27 '06 #2

P: 57
How Can i Do That In Console Application
Jun 28 '06 #3

Banfa
Expert Mod 5K+
P: 8,916
I can only find a non, portable way which is to use _getch which reads a character from the console without echoing it, you could echo * for every character read.

Of course that applies to Windows only since it's non portable.
Jun 28 '06 #4

P: 57
How Is this Function???
Jun 28 '06 #5

Post your reply

Sign in to post your reply or Sign up for a free account.