Solved

Question on Password Entry in MSVC++ 5.0

Posted on 1998-07-26
4
177 Views
Last Modified: 2010-04-02
How can I display a '*' instead of the character which the user has entered in the "edit box" of my program? Well... the whole idea is to create a password entry box so that the user can enter the password without the password being displayed in the "edit box".

For your informations, I'm working on a Win98 platform and using Microsoft Visual C++ 5.0.

Any help offered is very much appreciated!
0
Comment
Question by:justinng
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
psdavis earned 20 total points
ID: 1168695
Believe it or not, there is actually a "password" option on your edit box in the advanced styles.  Your entry will be replaced with asterisks.  

Phillip

0
 
LVL 7

Expert Comment

by:psdavis
ID: 1168696
Oops, it is in the regular "Styles" property page.

Phillip

0
 

Author Comment

by:justinng
ID: 1168697
hehee...thanks! Stupid me... :P
0
 
LVL 7

Expert Comment

by:psdavis
ID: 1168698
If you never done it before, how would've you known?!  I only found it by accident when I needed it!

Phillip

0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question