-
Notifications
You must be signed in to change notification settings - Fork 27
Function move issue and setWindowPos sample #6
Copy link
Copy link
Open
Description
I am using the move function as:
activeWindow = winctl.GetActiveWindow();
activeWindow.move(0, 0, 800, 600);
but I have multiple issues:
- there is a space (7px gap) between the screen area and the active window
- on a high-resolution screen with more than 100% scale, the x, y, width, and height are not accurate
I saw that there is a function called setWindowPos but there is no sample on how to use it.
Does anyone know how I can use setWindowPos and is it better than move? Thank you in advance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels