O.P. [questions] focus to a control + default submit button
I have two questions:
1. Is there a way (perhaps using the windows API) to give a particular control focus. I want a certain EditControl to have the cursor after a window loads.
2. Is there a way to have it so that if you press enter when a window has focus, that a default submit button is automatically pressed, kind of like a submit button on a form.
Thanks
CD
|