Try ES_PASSWORD:
Displays an asterisk (*) for each character entered in the edit control. This style is only valid for single-line editing tools.
Windows XP: user32.dll, - . , comctl32.dll 6, - .
, , EM_SETPASSWORDCHAR.
. Comctl32.dll 6 , Windows XP . Comctl32.dll 6, . . .
:
Edit
? Via :
HWND hwndButton = CreateWindow(
L"BUTTON",
L"OK",
WS_TABSTOP | WS_VISIBLE | WS_CHILD | BS_DEFPUSHBUTTON,
0,
0,
50,
50,
hwnd_parentwindow,
NULL,
(HINSTANCE)GetWindowLong(hwnd_parentwindow, GWL_HINSTANCE),
NULL);