T
T
TomasHuk2017-06-25 16:46:57
Python
TomasHuk, 2017-06-25 16:46:57

How to write a program with dynamic display of data in the taskbar?

For example, how is it implemented in the XMeters program :
83a5db1ec2eb41f09cf7fb7627c459ef.png
Can this be done in python?
How did the authors of the program even manage to introduce dynamically updated information into the taskbar?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
TomasHuk, 2017-06-29
@TomasHuk

I think I found how it's done - through the Application Desktop Toolbars .
It's not clear how to rewrite this C++ code in python.
Can anyone help me translate C++ to python?

I
Ighor July, 2017-06-25
@IGHOR

Windows is a mess of window handles and object handles.
They all hold integrity only formally.
You can find any window and its elements through WinAPI, and draw anything directly on it.
You can change anything in other people's windows and add your own elements there.
The taskbar is also windows with handles.
But perhaps Windows 10 has already added methods to make tray widgets without crutches, although I have not heard of this.
In general, the answer is, if you do it through the WinAPI functions

K
Konstantin Stepanov, 2017-06-25
@koronabora

You can play qt.
Even using Python, but it will be more difficult. https://habrahabr.ru/post/31426/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question