Solved

Question on Password Entry in MSVC++ 5.0

Posted on 1998-07-26
4
176 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

864 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now