Solved

Question on Password Entry in MSVC++ 5.0

Posted on 1998-07-26
4
179 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

733 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