carent move in textbox

G

gie

Hi

how can i disable carent move in a textbox when i press keyup, keydown,
keyleft or keyright. i set key handel in KeyDown and KeyUp Event true but
the carent in textbox didn't stop moving.

thanks
 
P

Paul G. Tobey [eMVP]

There may be a better way, but you *could* create a C DLL, subclass the edit
control, and have the subclass routine always set the cursor back to where
you want it. Why would you want to disable this standard behavior?

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top