Inputting Keyboard events into a dialog box
-
Hi, I am writing an application that can do the following 1. Start an application 2. Open up a dialog box in the application 3. Write a message into a text dialog box and commit it. I am having a problem with step 3. How do I pass along a string to write to a dialog box that is in focus. If this question has already been asked before, can you send me a pointer? Thanks. Lohith
-
Hi, I am writing an application that can do the following 1. Start an application 2. Open up a dialog box in the application 3. Write a message into a text dialog box and commit it. I am having a problem with step 3. How do I pass along a string to write to a dialog box that is in focus. If this question has already been asked before, can you send me a pointer? Thanks. Lohith
that means u wnat to update the edit box with some string? ALL THINGS ARE POSSIBLE UNTIL THEY ARE PROVED IMPOSSIBLE-AND EVEN THE IMPOSSIBLE MAY ONLY BE SO,AS OF NOW
-
Hi, I am writing an application that can do the following 1. Start an application 2. Open up a dialog box in the application 3. Write a message into a text dialog box and commit it. I am having a problem with step 3. How do I pass along a string to write to a dialog box that is in focus. If this question has already been asked before, can you send me a pointer? Thanks. Lohith
Get window handle of the text box and use SetWindowText. Then send dialog a command message for the OK button press.