Using API's SendMessge
Recently I create an ActiveX control (OCX) that consists of two textboxes
(Let's say Text1 and Text2) that reside side by side and I set their maxlength
property to 2.
I want the textboxes to behave like this :
When the user press the keyboard's right key and the cursor in Text1 is at
the last character the focus moves to Text2.
I also expect the same behaviour when the user press the keyboard's left
key and the cursor in Text2 is at the first character, the focus should move
to the Text1.
Is there any way to obtain information about at which character the cursor
is active ? (SendMessage ?, but I'm not sure about which message I should
send). Thank you very much.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center