Solved

Question on Password Entry in MSVC++ 5.0

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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
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 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…

856 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