|
-
Oct 30th, 2000, 09:20 PM
#1
Thread Starter
Addicted Member
I use an GetAsyncKeyState api to catch a hotkey press and set my form to visible. I have a specific text box I wanted to get the focus the second the form is visible so my users can begin typing immediately. When I coded my timer to catch the hotkey press I also coded it to give txtSend.Focus but all that happens is that my form appears and the title barflashes a few times but neither my form nor the txtSend gets a focus. How do I allow my form once it is visible, to give my txtSend the focus so my users can begin typing into the txtSend box immediately after the form is visible, without having to manually click the form with a mouse?
I appreciate any time or effort,
Daniel Christie
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
|
Click Here to Expand Forum to Full Width
|