Get coordinates of two mouses separately in C++ [closed] - c++

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I'm having two mouses on my PC, and now I want to get their positions at the same time. Can I do this through programming?
Thanks!

In Windows you cant, because you can only get the Position of the Cursor which is controlled by every mice.

On Linux, it's definitely possible to control one cursor with two devices. For instance I have a touchscreen and a mouse, the most recent one to be used moves the cursor.
This Question talks about a package which allows 2 cursors on Ubuntu.

Related

How to add a custom button in mac catalyst optimised for mac using swiftUI? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 days ago.
Improve this question
When I try to change it to optimised for mac, I see all buttons change to default style (I mean macOS style). I just want to change the button style. Pls help!

How to make a form in c++ from scratch without winforms? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to make desktop application with cpp and make a completely new form and I don't want to use winforms or any external addons just cpp.
When presenting output to screen you almost always have to call some kind of system call at some point. So the next closest thing to winforms is probably the winapi, but you could try some kind of graphical library for example sdl2 or sfml which encapsulates these calls with their own api. But you wouldn't have all these nice native windows buttons and tabviews and scrollbars and textboxes and ... only some basic shapes, images and pixel buffers

How to get the second active window in z order? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I am trying to create an MFC application(hidden application) for tracking usage of other applications.
I am using GetForgroundWindow() for getting the current active window but sometimes I get my own hidden application window.
How I can get the current active windows in z-order
Call GetWindow passing GW_HWNDNEXT.

C++ - Move application out of screen [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
So I want to create a c++ application that would come out from out of the screen when a button (that is visible on screen) is clicked and then the opposite.
How can I achieve this?
edit: i'm planning to do this on windows (winapi)
You should be able to use ::MoveWindow (or ::SetWindowPos) to change the position of the main window on a timer (WM_TIMER) callback.

is there any function in wxwidgets to check pdf software is available or not [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am using wxwidgets 2.8.10 with c++ and I am using both windows xp and windows 7.
Is there any function to see if "pdf" software is available in my computer or not by using wxwidgets?
Presumably you want to know whether a PDF viewer is available in order to open a PDF document. And if this is the case, you should just try opening it and then handle the error.