Edit_SetPasswordChar macro
Sets or removes the password character for an edit or rich edit control. When a password character is set, that character is displayed in place of the characters typed by the user. You can use this macro or send the EM_SETPASSWORDCHAR message explicitly.
Syntax
void Edit_SetPasswordChar(
HWND hwndCtl,
UINT ch
);
Parameters
- hwndCtl
-
Type: HWND
A handle to the control.
- ch
-
Type: UINT
The character to be displayed in place of the characters typed by the user. If this parameter is zero, the control removes the current password character and displays the characters typed by the user.
Return value
No return value.
Remarks
For more information, see EM_SETPASSWORDCHAR.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012
