Terminology request!

P

pigeonrandle

Hi,
I want to pass click events (to start with) from my application to
another application underneath it, but i think i lack the terminology
to find some examples.

Has anyone got any ideas for words/constants/phrases i could search
for?

Cheers,
James Randle.
 
M

Michael A. Covington

pigeonrandle said:
Hi,
I want to pass click events (to start with) from my application to
another application underneath it, but i think i lack the terminology
to find some examples.

Has anyone got any ideas for words/constants/phrases i could search
for?

I don't know what it's called, but I know it can be done, at least with
keyboard events. DSLR Focus (www.dslrfocus.com), which is a scientific
imaging utility, works with the software that actually controls cameras.
You start your camera control running and you tell DSLR Focus what folder
it's going to be storing the pictures in and what key to "press" to take a
picture. DSLR Focus takes pictures, reads the files, and analyzes them.
 
C

Chris Dunaway

I want to pass click events (to start with) from my application to
another application underneath it, but i think i lack the terminology
to find some examples.

To cause an event to happen in another application, you can use
SendMessage and PostMessage to send messages to other applications.
For mouse events, you would probably want to send WM_MBUTTONDOWN and
WM_MBUTTONUP.

Check out this list on pinvoke.net:

http://www.pinvoke.net/default.aspx/Enums/WindowsMessages.html

Keep in mind that under Windows Vista, SendMessage and PostMessage can
no longer send messages to aplications with higher security than the
source application. See this for more information: (see the section
called UIPI (GUI Portion of User Account Control))

http://msdn2.microsoft.com/en-us/library/aa480152.aspx

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top