anon anonymous
asked on
How to remove '|' prompt from ES_PASSWORD input box - Winapi/C
Hello, I have the following box
https://gyazo.com/3e7a6af9c677c4d1548ba0dc3909057b
I am asking how can I remove the '|' prompting character from the input box and make it like a standard input box without the appended ES_PASSWORD flag.
Basically it's inconvenient that the prompting character is bigger than the box itself so I'd like to remove it. How is it possible? Here is my CreateWindow call:
DrawChildWindow(Pos, hWnd, "EDIT", NULL, WS_CHILD | WS_VISIBLE | WS_OVERLAPPED | ES_PASSWORD, WS_EX_CLIENTEDGE, (HMENU)LOGIN_PASSWORD);
https://gyazo.com/3e7a6af9c677c4d1548ba0dc3909057b
I am asking how can I remove the '|' prompting character from the input box and make it like a standard input box without the appended ES_PASSWORD flag.
Basically it's inconvenient that the prompting character is bigger than the box itself so I'd like to remove it. How is it possible? Here is my CreateWindow call:
DrawChildWindow(Pos, hWnd, "EDIT", NULL, WS_CHILD | WS_VISIBLE | WS_OVERLAPPED | ES_PASSWORD, WS_EX_CLIENTEDGE, (HMENU)LOGIN_PASSWORD);
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sara