Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 251
  • Last Modified:

cursor pos. for tedit

How do I get the cursor to move to the last position in a TEditBox?
0
koger
Asked:
koger
1 Solution
 
Tommy HuiCommented:
Use something like

  int length = edit->GetWindowTextLength();
  edit->SetSel(length, length);


0
 
rayofunrealCommented:
HI..... Try to use SetCarretPosition()..... Only ONE process can have ActiveCarret (text cursor)....
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now