Questions tagged [window-management]
79 questions
0
votes
1 answer
Stack Windows Manager Program How-to's
I download the Stack Windows Manager from Microsoft store. Someone introduced it to me and said it is a great program.
Oddly, after installing it and setting it up, I cannot find out how to start using it? There is no instruction to show me how to…
0
votes
1 answer
Is controlling windows not owned by your process considered a malware activity?
I am planning to follow one of the suggestions made here to control window dimensions, hide/show and bring to front of a window owned by a different process from my process.
Window manipulation using window-handle from different process on MS…

Ramki
- 1
0
votes
1 answer
Lua find number of occurences of searched string
I'm trying to count and print out the numeric value of how many times the "terminator" value has been outputted. Is there any function that does this? If not how should i tackle this problem?
output = get_application_name()
var =…

lama5
- 11
- 3
0
votes
1 answer
In Ubuntu, alt-tabbing to switch window doesn't open it even though window appears in task switcher
I try using Alt-Tab to switch to another window, and can see the window in Alt-Tab task switcher, but when I select it, it doesn't open. This happens to me for example with the Text Editor and also the File Manager, and has happened multiple times.

Adrian Scott
- 129
- 6
0
votes
3 answers
Why does "wm_protocol" break normal window management in Python3/tkinter?
I am testing tkinter window management for a somewhat large Python 3.6 project and there is one thing I don't seem to be able to get right or even understand quite well. In the following code, windows are opened and closed as expected (I mean, by…

Victor Domingos
- 1,003
- 1
- 18
- 40
0
votes
2 answers
Minimize window on scroll down?
I was wondering, would it be possible to create a small piece of software that would allow the user to minimize a window by scrolling down on it? (on the top part that can be used to move it via drag and drop, obviously).
Following the same idea, it…

nncho
- 165
- 7
0
votes
1 answer
createNotify event called too often
I wrote the following code to detect when a window is created on the screen by another application (not by my code):
Display* display = XOpenDisplay(":0");
XSetWindowAttributes attributes;
attributes.event_mask = SubstructureNotifyMask |…

Moonlit
- 5,171
- 14
- 57
- 95
0
votes
1 answer
AppleScript Managing Windows
I want to make my window to the frontmost -1. I have an application that activates Safari to run a JavaScript once every two minutes when I've been away from my computer for more than 30 minutes. However, when the script is done I want Safari to go…

David Hermansson
- 33
- 5
0
votes
1 answer
X Substructure Redirection Messes Up Tool/Menu Bars
The following piece of code initiates substructure redirection on the root window and attempts to resize any new children:
#include
#include
#include
#include
#include
#include…

user3026691
- 497
- 2
- 11
0
votes
1 answer
Window re-sizing for vertical monitor setup
Running Windows 7 with two monitors, vertical setup
I want to have more convenient window sizing for vertical monitor setup. Currently there is the normal 'drag window to side of screen' to auto-resize the window to half the screen horizontally. Is…

David Lee
- 3
- 1
0
votes
2 answers
Disable buttons, depending on where Form is opened from
There's probably an easy solution to this, but I can't find anything on this.I have three forms:
Main Menu
Form 1
Form 2
Both Main Menu and Form 1 can launch Form 2. What I want to do is:
if Form 2 is launched from Form 1, some buttons are…

JohnB
- 35
- 6
0
votes
1 answer
javafx close window from other class
I'm connection to a server in a small javaFX window. The connection is made by a new thread. But I want the window to close when the connection is established. How do I make that happen?
here's what I've tried.
package…

Jocke
- 5
- 1
- 4
0
votes
2 answers
Making "helper" windows in WPF
I'm writing an app in WPF and want to make a "helper" window. The window needs to be resizable, with no minimize option and doesn't show in the taskbar. If the app receives focus, it should appear as well, but whether or not it's in front or behind…

RandomEngy
- 14,931
- 5
- 70
- 113
0
votes
2 answers
Multiple JFrame application, how do I bring them all to front together?
My users like having multiple JFrames; it allows them to resize the different components and place them wherever they want on the screen. However, I have a request to make all the child windows come to the front together... in other words, lets say…

durron597
- 31,968
- 17
- 99
- 158
0
votes
2 answers
Launching another pyqt program from a currently running one
I have two pyqt programs. Both should be available to run by themselves, but I need to run one of them from the other. The one that will only run manually is called foo and the second one (the one I want to call from foo) is called bar. I tried to…

Yotam
- 10,295
- 30
- 88
- 128