cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Christoph
Level 8

Masked Edit Control - Password

I've a basic msi and I created a dialog with a masked edit control on.
It is the intention that the user types in a password in this control.

So, I want every character the user types, being shown as a '*'.
Can someone tell me how I can achieve this?

I already tried to modify the attributes column of the masked edit control in the Control table but this doesn't seem to work. I added the value 2097152 (password attribute) and counted 7(2: enabled, 1: visible and 4: sunken) to it... giving 2097152. The control is enabled, visible and sunken but it doesn't display the characters as *.

Help!
Labels (1)
0 Kudos
(2) Replies
TsungH
Level 12

If you have not, please refer to MaskedEdit Control. Edit Control is probably what you are looking for.
0 Kudos
Christoph
Level 8

thx... just setting the password bit to true on the edit field worked.
I was sure that I needed the masked edit field for this purpose.
The name confused me a bit :rolleyes:
0 Kudos