Click to See Complete Forum and Search --> : How can I return a hidden window by the same program?


Blank6
October 9th, 2009, 10:41 AM
Hey,
I would like my program to remain in the background until a combination of keys is pressed, say Ctrl+1.
So no problems in hidding the program (Through API or just .Hide()), but how can I make the program still input keys until the right combination is pressed?

Thanks ahead!
[My first post over here(: ]

BigEd781
October 9th, 2009, 12:51 PM
You will have to use an OS level hook to monitor the keyboard

http://msdn.microsoft.com/en-us/library/ms644990%28VS.85%29.aspx