Solved

Question on Password Entry in MSVC++ 5.0

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

757 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