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

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.

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 build fo Steam in Visual Studio with no Game Engine like UE5 or Unity [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 8 days ago.
Improve this question
I am writing the code for a game in Visual Studio + SFML but I don,t know how to build it so I can Upload it To Steam.
Any Help.
I really have no idea how it works.

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.

Get coordinates of two mouses separately in C++ [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 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.