RE: Cursor disappear in text box?
- Posted by Don Phillips <Graebel at hotmail.com> Jul 08, 2002
- 397 views
> Under Win32Lib, is there a way to get rid of (or make invisible) the > (text) cursor in a read-only MLEdit box? Let me see. I believe there are two ways. 1) Dont make it read-only, change it to disabled. This will remove the insertion cursor, but will also have the side effect of making the text a gray color. Good solution if you plan to custom draw the control anyways. Probably poor choice otherwise. 2) I cant test this atm, but if you set up an onEvent handler and capture the WM_SETFOCUS message and returnValue(1) I bet the cursor would be removed. Don