Hello, i am trying to create a window that is transparent and ignores the inputs so they fall through the windows bellow
I have seen answers to this question
These seem to add some complexity which if possible i would like to avoid. I am just curious if there is a new functionality that would make this action simpler. I am a relative beginner in wxWidgets so any information is helpfull
PS: I would like it if there war another method, but first and foremost i would like just some closure on this issue
PS2: One of the answers listed above focuses on doing this in Windows. While i am thinking about windows primarily i would certainly like a more cross platform solution
Thank you in advance for any advice
Create a window that lets the input events fall through
-
- In need of some credit
- Posts: 2
- Joined: Mon Aug 26, 2019 7:25 am
Re: Create a window that lets the input events fall through
You should better describe what you are trying to achieve. How exactly would you use such a window?
Should it be transparent only in relation with its wx- parent or with the desktop and any other window outside your program?
By the contents of the links you posted I get that you want transparency both visually and for events, right?
Should it be transparent only in relation with its wx- parent or with the desktop and any other window outside your program?
By the contents of the links you posted I get that you want transparency both visually and for events, right?
-
- In need of some credit
- Posts: 2
- Joined: Mon Aug 26, 2019 7:25 am
Re: Create a window that lets the input events fall through
To be more clear, yes, i want transparency for the desktop and any other elements. So that means that i want transparency, as you said, both visually and for events.
Re: Create a window that lets the input events fall through
Can you explain the "bigger picture"? What do you want to do from a user's point of view, not from a programmer's point of view?
Use the source, Luke!
- T-Rex
- Moderator
- Posts: 1248
- Joined: Sat Oct 23, 2004 9:58 am
- Location: Zaporizhzhya, Ukraine
- Contact:
Re: Create a window that lets the input events fall through
If you target WIndows platform only, then what you need is probably DirectX overlay. And this comes out of scope of wxWidgets.
There are some existing libs for this:
https://github.com/michel-pi/GameOverlay.Net
https://github.com/lolp1/Overlay.NET
https://www.unknowncheats.me/forum/c-an ... lated.html
You could also dig CodeProject for other samples.
https://www.codeproject.com/Articles/20 ... rlay-Tools
There are some existing libs for this:
https://github.com/michel-pi/GameOverlay.Net
https://github.com/lolp1/Overlay.NET
https://www.unknowncheats.me/forum/c-an ... lated.html
You could also dig CodeProject for other samples.
https://www.codeproject.com/Articles/20 ... rlay-Tools