A
A
Alexey2021-04-23 17:52:21
Python
Alexey, 2021-04-23 17:52:21

How to overlay GUI on top of another process (windows)?

Hello, I ran into a problem. I wanted to overlay my GUI on top of another process. But I didn’t find anything similar. I came across such a DearPyGUI library, it’s something like an imgui port for Python. How is it possible and even possible to overlay your own GUI?
For an example of what I mean: https://youtu.be/DC_FeWNpFT0?t=544

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2021-04-23
@graymstar

um...your kagbe question is about nothing at all.
it is possible to replace one gui with another, but it requires very steep skills and time for this.
especially when it comes to realtime.
could you elaborate on the task?

G
GoogleRa, 2021-08-04
@GoogleRa

Since I mainly write bots based on OpenCV, I don’t want to get into game code at all. I found an alternative. With the help of tkinter, I created a transparent window and put it on top of the desired one. It constantly keeps track of the game handle and adopts its location. In this case, only the displayed buttons are clickable. The rest of the surface lets clicks through.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question