Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Edit control modifies the current line of text
#6
Strange, text will be randomly inserted anywhere

Sorry, you are right, just as you said, 
Quote:text is added to line relative to mouse position

Code:
Copy      Help
cpos = cursorPos&0xFFFF
line = cursorPos>>16
The code is a little difficult to understand,How do I insert text to the end of the line where the cursor is located?


Messages In This Thread
RE: Edit control modifies the current line of text - by Davider - 02-27-2023, 02:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)