Advertisement

11.30.2008 at 10:53PM PST, ID: 23945977 | Points: 500
[x]
Attachment Details

Program run and clickable that does not steal focus?

Asked by xwxjncoxwx in C# Programming Language, Game Programming

Tags: ,

I would like to write a C#.Net program that runs on a second monitor(touchscreen) which interacts and sends keystrokes to a game that runs on the primary monitor.  What would i need to do is make it run in the background even when clicked on.  If the program gets focus at all the game will minimize (because it's full screen).  

I need it to be the opposite of a "always on top" never taking focus except maybe when the program is launched.  But when i click on things it needs to stay in the background but register the clicks and send keys based on it.

I assume I need to use some windows api call of some sort maybe?  I don't know C++ at all, otherwise id write it in that.Start Free Trial
 
 
[+][-]12.01.2008 at 06:24AM PST, ID: 23068614

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.01.2008 at 07:10AM PST, ID: 23069092

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.01.2008 at 07:24AM PST, ID: 23069223

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]12.09.2008 at 02:32AM PST, ID: 23128083

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628