Results 1 to 6 of 6

Thread: prevent keyboard & mouse input to a window

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2006
    Posts
    29

    prevent keyboard & mouse input to a window

    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?

  2. #2
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: prevent keyboard & mouse input to a window

    What ar you really trying to do by preventing the user form using the keyboad and mouse

    Is that your own application or a 3rd pary?

  3. #3
    Fanatic Member
    Join Date
    Jan 2007
    Location
    Middletown, CT
    Posts
    948

    Re: prevent keyboard & mouse input to a window

    You could disable the keyboard and mouse via the API.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Sep 2006
    Posts
    29

    Re: prevent keyboard & mouse input to a window

    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.
    Last edited by david90; Jul 22nd, 2008 at 03:00 PM.

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Sep 2006
    Posts
    29

    Re: prevent keyboard & mouse input to a window

    yes it is a 3rd party app

  6. #6
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: prevent keyboard & mouse input to a window

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width