An application sends an EM_SETREADONLY message to set or remove the read-only style (ES_READONLY) of an edit control.
EM_SETREADONLY wParam = (WPARAM) (BOOL) fReadOnly; // read-only flag lParam = 0; // not used; must be zero
If the operation succeeds, the return value is nonzero; otherwise, it is zero.
When an edit control has the ES_READONLY style, the user cannot change the text within the edit control.
To determine whether an edit control has the ES_READONLY style, use the GetWindowLong function with the GWL_STYLE flag.
file: /Techref/os/win/api/win32/mess/src/msg06_14.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/11/5 10:51,
18.190.253.43:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.ecomorder.com/Techref/os/win/api/win32/mess/src/msg06_14.htm"> EM_SETREADONLY</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.