Solved

How to invoke a password dialog box?

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

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

Suggested Solutions

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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