Link to home
Start Free TrialLog in
Avatar of anon anonymous
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);
SOLUTION
Avatar of chaau
chaau
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The Asker didn't answer to the given suggestions, but as the question was clear and the answers also were correct and helpful, the question should be PAQ'ed.

Sara