473,387 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

how to simulate keystrokes in a window

Anyone who knows how to simulate keystrokes in a ceditview window, using
SendMessage(WM_KEYDOWN,...) or OnKeyDown(UINT nChar, UINT nRepCnt, UINT
nFlags), the question is how to set nFlags.

Thanks


Nov 17 '05 #1
1 3200
sbcglobal wrote:
Anyone who knows how to simulate keystrokes in a ceditview window, using
SendMessage(WM_KEYDOWN,...) or OnKeyDown(UINT nChar, UINT nRepCnt, UINT
nFlags), the question is how to set nFlags.


SendInput

--
Greetings
Jochen

Do you need a memory-leak finder ?
http://www.codeproject.com/tools/leakfinder.asp
Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: John | last post by:
Hi, Can anyone point me out how to intercept the keystrokes from a c# application that's not a active window? - intercepting the system wide keystrokes before it hits the target active window? ...
5
by: Lucas Tam | last post by:
Hi all, Has anyone done this before? Send client side keystrokes to an application from a webpapge? This maybe more of a Javascript question. In short, I have an application on the client's...
2
by: Tim Diggle | last post by:
I'm trying to enter data into a database application running under Citrix ICA Client. I'm doing it from a VBA macro running under Microsoft Excel 2000 (although it may need to be backwardly...
3
by: Gunnar Syren | last post by:
I'm trying to implement a macro feature in my application by recording and playing back keystrokes. At first I thought it would be enough to catch KeyDown in my main form, but I soon realized that...
3
by: 31337one | last post by:
Hello everyone, I am using a python script as a way to test another program that I have written in C++. The program cannot be altered. It needs to stay the way it is. I need to simulate a few...
1
by: zanthor | last post by:
Ok... so call me crazy, but I have an idea and I'm looking for where to start... I want to write an application that catches keystrokes and then either redirects them to the in focus window or...
1
by: xxsodapopxx5 | last post by:
I was wondering if there was a way to simulate keystrokes. i.e. "backspace", "backspace", "1","space", "5" 1 5 i need it to external applications and sendkeys.send won't work. thanks for your...
3
by: Abdul Khaliq | last post by:
Hi all i want to simulate the ctrl + alt + delete keys I am facing problem with this code. I able to get the reference of the "winlogon" desktop but am unable to simulate the ctrl + alt +...
0
by: rjprasadch | last post by:
We have one utility in Visual Basic and it compares two PDF Documents. When we run our application, initially compare documents dialog box is displayed and this dialog box is displayed by Acrobat. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.