Advertisement

1 - 10 of 32 containing alltags:("sendinput") (0 seconds)
SendInput is declared in winuser.h but somehow I can't use it anyway; I get the error: 'SendInput' : undeclared identifier Well, I extracted the declarations used for SendInput and put it in a...
Zones: C++Date Answered: 07/07/2000 Grade: B Views: 0
I absolutely need to simulate keystrokes. The following example is just a small piece of code to show the problem I'm actually facing. The example code is supposed to type a serie of "a", cont...
Zones: Visual BasicDate Answered: 01/23/2003 Grade: A Views: 0
I need to write an application A in VC++ to test a number of interfaces. A has to simulate keystrokes and mouse events and pass them to another running test program B. If possible, A should also bl...
Zones: Windows ProgrammingDate Answered: 01/23/2003 Grade: A Views: 0
Hi, I am trying to emulate Ctrl + N by using SendInput function, but this does not seem to be working. Here is the code that i used. INPUT input[4]; ZeroMemory(input, sizeof(INPUT)); input...
Zones: Windows ProgrammingDate Answered: 03/13/2003 Grade: A Views: 0
Hi,      In my program i want to send keys to the newly created application.I use the create object function to create the application,in my case it is an impromptu object.I enclose the code for t...
Zones: ProgrammingDate Answered: 10/14/2003 Grade: A Views: 0
The obvious answer here would be simply, "Don't Send a KeyUp event, and the key will be held down."  However, that's not what happens. Using the Keybd_Event and SendInput APIs (they both do the...
Zones: Visual BasicDate Answered: 12/28/2003 Grade: B Views: 40
I want to create a program that records my input into a game (or any other app) and is able to simulate that input at any time, using the win32 API (windows XP) Recording is not a problem, but I...
Zones: Windows ProgrammingDate Answered: 01/07/2005 Grade: C Views: 5
Hi Friends, I'm trying to open an external browser and automatically enter a username, TAB to get to the next field, then password, then RETURN (for the submit button).  My problem is that t...
Zones: C++ BuilderDate Answered: 01/10/2006 Grade: A Views: 0
I'm in a derived CFileDialog class with the OFN_EXPLORER style and I would like, in a response of a button, send the 'F2' key to the API in order to rename the selected file. !!! : I don't want to ...
Zones: C++Date Answered: 07/15/1998 Grade: B Views: 0
I am writing an application that needs to insert characters into the system queue, exactly simulating what happens when a user presses a key. There are, I think, three ways to do this: 1. use a sys...
Zones: Windows ProgrammingDate Answered: 09/25/2000 Grade: A Views: 0