?
Solved

How to invoke a password dialog box?

Posted on 2000-03-30
2
Medium Priority
?
573 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Accepted Solution

by:
captainkirk earned 200 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

Industry Leaders: 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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month12 days, 13 hours left to enroll

777 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