Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8919951
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T06:09:01+00:00 2026-06-15T06:09:01+00:00

I am attempting to control two mice. The primary mouse (mice) are used for

  • 0

I am attempting to control two “mice”. The primary mouse (mice) are used for controlling the cursor for normal UI control (which I don’t want to intercept) and a secondary “mouse” which should only be used as input into the application I am writing and ignored otherwise.

I am successfully capturing the mouse messages and filtering as desired. I can also successfully capture the mouse inputs,even when my app is not in focus (as desired).

The only remaining issue is that I can’t seem to keep the mouse from interacting with other applications. So I can essentially spy on the mouse, but not fully consume the message.

I “believe” I am preventing the “base.WndProc(ref message)” from getting called when I am processing the filtered mouse messages, but the system still seems to be getting the mouse clicks.

Is C# (Visual Studio Express 2010) able to do this?

Thank you for any assistance you might be able to give.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T06:09:02+00:00Added an answer on June 15, 2026 at 6:09 am

    Raw input might be what you’re looking for.
    Here is an MSDN discussion with a similar question which has link to a codeproject article on handling mutliple keyboards in C#.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am attempting to create a ListView control which is populated via a binding
I am attempting to write a custom control. I want to allow its user
I am attempting to bind a ListView control to a DataTable , but the
I'm attempting to use the ScintillaNET control in an application I am working on.
I am attempting to build an FSM to control a timer in (iphone sdk)
I am attempting to create my own custom Autocomplete style dropdown control in c#
I am attempting to use a jquery drowndown checklist control. Following some simple examples,
I'm attempting to import a clearcase project into rtc source control and I'm following
I am new to jQuery and attempting to use the dropdownchecklist control I am
I'm attempting to bring sanity to an existing system by adding version control. Trouble

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.