I have three questions about editbox control in WINAPI (i can’t find information on msdn about this)
1. How to disable moving typeing cursor with mouse, arrows, backspace in editbox ? I want to make typing like in command line in dos, but with out backspace.
-
Can I write some piece of text with red color, and another with blue ?
-
How to write to editbox control from another thread ?
ES_READONLY) & manually intercept keystrokes and append only those you want to.RICHEDITclass for that and use RTF. (You could owner draw a normal EDIT window but that would not be much fun)SendMessagewithWM_SETTEXT(OrEM_SETTEXTEX/EM_REPLACESELif you use aRICHEDIT)Why not use a Console?