Solved

How to invoke a password dialog box?

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 63
Define unique primary key 9 95
unable to delete all specified values regedit 38 544
Problem to App source 6 70
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.

839 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