Solved

How to invoke a password dialog box?

Posted on 2000-03-30
2
563 Views
Last Modified: 2013-11-20
This there any MFC class that encapsulates a userid and password dialog box?  Does it also show * when the user enters a password?

There must be one somewhere - rather than coding it from scratch.

0
Comment
Question by:wzhxxj
2 Comments
 
LVL 4

Accepted Solution

by:
captainkirk earned 50 total points
ID: 2670796
You can use an edit box in your dialog and set the password style directly in the form designer or manually set the ES_PASSWORD style. You can then call SetPasswordChar() to set whatever character you wnat to replace the actual typed in text.
0
 

Author Comment

by:wzhxxj
ID: 2673408
Thanks James!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

11 Experts available now in Live!

Get 1:1 Help Now