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 7278599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T22:53:46+00:00 2026-05-28T22:53:46+00:00

Initially, I want to use 2 mice for an application with separate pointers and

  • 0

Initially, I want to use 2 mice for an application with separate pointers and interaction between the 2 mice(e.g. selecting a rectangular area). Later I might want to have a second pointer available generally in windows. I thought this might be possible by simulating a stylus pen with the second mouse.

My main question though is: Am I right to use a system hook as opposed to RawInput, DirectInput or InputX?

If using a system hook I presume I need to use WH_MOUSE_LL rather than WH_MOUSE even if the application is running on one thread? My preferred language is C#, but again I presume that using DLL imports means I can do anything that’s possible in C++ or C.

  • 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-05-28T22:53:47+00:00Added an answer on May 28, 2026 at 10:53 pm

    Using system hook is the way to go in WINDOWS. You can use C# with InteropServices and the apropriate COM+ objects, altough creating a C++ class and wrapping it would be a better approach. I’ve done it myself with keyboard events. I could LOG all keyboards typing… And yes, you have to use WH_MOUSE_LL.

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

Sidebar

Related Questions

I have a scientific application for which I want to input initial values at
I want to use a Spinner that initially (when the user has not made
I use a form in a UIWebView in my iPhone application that initially is
I have a CacheHelper class to facilitate interaction with the cache. I want to
I have a native c++ app, and I want to use some managed types
I'm creating an application where I have to use RSA to encrypt some stuff
I am creating a web application and I want to use the Tabs widget
I want to make a movieclip invisible initially but i dont want to set
i want to have a foreach loop where the initial array is changed inside
I don't want to give an initial value. I want to set these later

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.