Hey,
I was just wondering how do I make my edit boxes so that when the the tab button is hit the cursor will go on to the next edit box in windows API. I've done some research on functions that deal with the cursor but I can't string them together to make something that works. Help please. Thanks.
goody11
-2
Junior Poster
Recommended Answers
Jump to PostHave you tried SetFocus?
Jump to PostIf you use SetFocus on the handle to the text box, it should move the text cursor to there.
Just tried it, it worked.
Jump to PostHow can I say, if the tab button is pushed, use SetFocus() ?
Show me your code.
Have you already programmed the functionality of the tabs? and do you have a HWND of the text box? If not, these are small details I can still help with.
All 12 Replies
William Hemsworth
1,339
Posting Virtuoso
goody11
-2
Junior Poster
William Hemsworth
1,339
Posting Virtuoso
goody11
-2
Junior Poster
William Hemsworth
1,339
Posting Virtuoso
goody11
-2
Junior Poster
goody11
-2
Junior Poster
goody11
-2
Junior Poster
goody11
-2
Junior Poster
William Hemsworth
1,339
Posting Virtuoso
goody11
-2
Junior Poster
goody11
-2
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.