Hi,
There are two ways to do this:
1. In the resource file where your dialog box is defined, set the edit =
control style with ES_PASSWORD.
2. Or in your CreateWindow function for the edit control, you can also =
set the edit control style with ES_PASSWORD.
Regards,
Yeoh
~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~
Author of "How to Create an eBook Using Visual C++"
Free Downloads at http://www.yeohhs.com
ICT eBooks by Yeoh HS
~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~
----- Original Message -----=20
From: Andr=E9 Bresan=20
To: dev...@li...=20
Sent: Thursday, April 11, 2002 4:21 AM
Subject: [Dev-C++] capture keyboard-input in aWinDialogBox
hi there
=20
I'm new in windows-programing.
and I want that my EditText-Control in a Dialog Box writes instead of =
the letters from the keyboard just astrerisk for a password i.e.=20
=20
so how could I realize that?
=20
thanks to all
|