Is there a way to prevent a user from interacting (type keyboard/click with mouse) with an application's window via keyboard/mouse but still let me interact with application's window programmtically?
Printable View
Is there a way to prevent a user from interacting (type keyboard/click with mouse) with an application's window via keyboard/mouse but still let me interact with application's window programmtically?
What ar you really trying to do by preventing the user form using the keyboad and mouse :D
Is that your own application or a 3rd pary?
You could disable the keyboard and mouse via the API.
To be precise, I'm making a touch screen multimedia display program and I want it to be able to display tv from a tv card. This tv card doesn't have an OCX SDK so I would have control the tv application directly. I only want to disable key and mouse input to the tv display window in order to prevent the users from changing the settings as my program will be publicly used.
yes it is a 3rd party app
hm,
just an idea, you better look at mouseHooks and KeyboadHooks.
http://www.codeguru.com/cpp/w-p/syst...cle.php/c5699/
there may other simple solution :)