Hi community, I want to prevent user input character in Edit Control on a dialog.
I think i need to catch WM_Char to prevent showing the character, but i do not know how to do it.
Thanks for your help.
Hi community, I want to prevent user input character in Edit Control on a dialog.
I think i need to catch WM_Char to prevent showing the character, but i do not know how to do it.
Thanks for your help.
Create the control with ES_READONLY
style or send the EM_SETREADONLY
message to the control.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.