Solved

How to invoke a password dialog box?

Posted on 2000-03-30
2
565 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Running shell command from Access 3 72
Expand macro to include alternate header placement and naming 5 71
zeroMAx challenge 20 99
EvenOdd challenge 10 105
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. …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

813 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

13 Experts available now in Live!

Get 1:1 Help Now