Skip to main content
0 votes
1 answer
75 views

A difficult task has arisen, let's imagine a situation, I have a computer game and I want to let's say... draw your cursor using python, or some shapes. It doesn't matter why I need it, I just need it ...
NONAME's user avatar
  • 1
2 votes
1 answer
259 views

I'm working on a Win32 desktop application in C++ and testing what happens when I retrieve display information using DISPLAY_DEVICE after disconnecting all physical displays. Surprisingly, the API ...
Harshith's user avatar
  • 320
5 votes
3 answers
467 views

Problem I’ve recently started learning Win32 programming with OpenGL and was experimenting with creating a basic window and testing various functions provided. However, I noticed that when I close ...
Halleys's user avatar
  • 61
0 votes
1 answer
77 views

I have a project involving screenshotting another program, then opening that data in VSCode, so I need to switch windows back and forth. switching to the other program works, taking the screenshot ...
Programmic's user avatar
0 votes
0 answers
92 views

Description of the Issue I am working on a Python-based application that uses pywebview for rendering the UI and win32gui to manage the window. My application ensures that only a single instance can ...
Habibullah Amjad's user avatar
1 vote
1 answer
95 views

I am making an application in WINAPI 32 using C++. I have a parent window and a child window and a check box to make the child window pop out of parent window or dock in if unchecked I use these ...
Soumya's user avatar
  • 393
-1 votes
1 answer
58 views

How to automatically manage the height of an EDIT Win32 API Control. I have created this EDIT control like this : hwndFileEdit = CreateWindow("EDIT", nullptr, WS_CHILD | WS_VISIBLE | ...
sysc4ll's user avatar
4 votes
0 answers
406 views

I'm trying to capture a window by its HWND, like my explorer: But this is the result I get: This is the function I am using: def capture_window(hwnd): win32gui.ShowWindow(hwnd, win32con....
王常友's user avatar
0 votes
0 answers
63 views

To implement a file preview feature similar to Quick Look on Windows, there are a few existing tools, each with their own issues: QuickLook: Slow file preview, occasional crashes, and lack of ...
LeapingQuantum's user avatar
0 votes
0 answers
458 views

I've written the following code to hide my Tkinter window from being visible in screenshots. I'm trying to make a transparent, click-through overlay that adds an effect to the area behind it, which I ...
Sriram Munagala's user avatar
0 votes
1 answer
113 views

I'm trying to extract .ico files from executable files i found this code on the website import win32ui import win32gui import win32con import win32api ico_x = win32api.GetSystemMetrics(win32con....
humantrash's user avatar
1 vote
0 answers
86 views

I have a native Windows program that uses the Windows SDK. The program uses several child windows in a frame. When the frame is destroyed with DestroyWindow, WM_DESTROY messages are sent to the child ...
xMRi's user avatar
  • 15.5k
0 votes
0 answers
98 views

When using PyQt5 and YOLOv5 to detect humans and blur them with an overlay, a flickering issue arises. This happens because the screen capture picks up the overlay itself. The script then mistakenly ...
iddwsdgh's user avatar
1 vote
1 answer
68 views

When searching for examples of Win32 API code, I see many of examples of constant values with names like "IDC_OUTPUT" in resource scripts, resource.h files or defined at the top of apps, ...
AWM's user avatar
  • 54
1 vote
3 answers
385 views

I am trying to add an icon to a menu item in a Windows application using the Win32 API, but the icon is not showing up. I have followed the instructions from the Win32 API documentation, but it's ...
Viole Grace's user avatar

15 30 50 per page
1
2 3 4 5
59