-
Using API's SendMessge
Hi everyone,
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.
Setya
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks