9,516 questions
-4
votes
1
answer
61
views
How to move window control buttons (traffic light) in macOS SwiftUI [closed]
How to make it possible to place the buttons slightly below and to the right of a regular window without using (toolbar, navigationSpitView, etc) like in the Chrome or FireFox browsers
the image ...
3
votes
1
answer
76
views
window .postMessage is not returning when popup window is closed,
I am opening a window popup for login and once login is completed I am closing the popup window. after closing. I want to know what is the exact method to capture the closing the popup window , (...
0
votes
0
answers
67
views
How do you trigger a window to be shown on mac when launching an app at login?
I have a SwiftUI app targeting Mac-only (macOS 15 or higher). I provide a toggle to allow users to launch the app at login (using SMAppService.mainApp.register()). I can get the app to launch (it ...
2
votes
0
answers
132
views
Why isnt the Pixel turning yellow
Im using SFML 3.0 and want to draw a window and whenever i click my left mouse button inside the window i want to draw sand for example, so a yellow pixel should appear but it doesnt work, no color ...
-2
votes
1
answer
141
views
When i work with tkinter no window pops up and my command line terminal acts as if a program is running. Not even CTRL + c kills it
I have been trying out the tkinter library for python and have been noticing a strange pattern of behavior that I encounter but the behavior doesnt occur with the tutorial videos. I have tried:
from ...
1
vote
2
answers
84
views
Automated backup script unable to find the required window despite successful Get-Process
I am trying to create a script to run in powershell that accomplishes the following steps for a game server that I am hosting:
save the world data (this must be done in the server console)
shutdown ...
1
vote
2
answers
85
views
Opening a new window for logging, and keeping it open for rest of process
In a WPF application I am attempting to create a secondary logging window that starts up and catches events through an Observable Collection, once an operation initiates. However. I have run into 2 ...
0
votes
1
answer
76
views
How do I switch Keyboard Focus between the Main- and a ChildWindow?
How do I switch the keyboard focus between two windows in WPF by only using a keyboard?
Well. You just use ALT+TAB to select the window and another TAB to jump to the next focusable element. It's that ...
1
vote
1
answer
65
views
XtGrabPointer does not confine to widget window area
I'm writing an Xt/Xm application and trying to emulate the effect of the Win32 ClipCursor on a widget.
However, the following fails to constrain the pointer to the specified widget area in confine_to
...
0
votes
0
answers
15
views
How to Handle Worker Thread File with an importScripts file with a Reference to window? [duplicate]
I have a worker thread file worker.js which is used when setting up the worker:
myWorker = new Worker("worker.js");
The file has at the top:
importScripts("general.js");
where ...
-1
votes
3
answers
100
views
Swing: How to center a button near the bottom of a JFrame without using setBounds()?
I’m working on a Java Swing application and would like to place a button so that it is horizontally centered and vertically positioned near the bottom of the window — similar to how a typical “Submit” ...
0
votes
0
answers
20
views
Open MenuBarExtra window with global keyboard shortcut [duplicate]
I'm developing a menu bar app and this is my code:
@main
struct MyApp: App {
var body: some Scene {
Settings {
SettingsView()
}
...
1
vote
1
answer
128
views
Undefined reference errors while compiling C++ code with OpenTelemetry using g++ on Windows
I am trying to compile a C++ program using OpenTelemetry with g++ on Windows, but I am encountering undefined reference errors during the linking stage.
Goal:
To compile and run a simple C++ program ...
0
votes
1
answer
120
views
No window when compiling on DataStage
Previously, when compiling on DataStage, a small window would appear throughout the compilation and provide failure reasons, etc... Pretty standard stuff. Recently I've noticed that window doesn't ...
1
vote
1
answer
87
views
matplotlib and tkinter window : change the icone in all windows
I am looking for replacing the default icone from the matplotlib and tkinter window by using a specific image I load (.gif image). It works on the main window (the plt.show() matplotlib window), but ...
1
vote
0
answers
80
views
I want to create a transparent window through JavaFX and make it only show images, but it doesn't work
I want to make a transparent window with JavaFX. I don't want the elements on top of it to be transparent.
However, as soon as you put stage.initStyle(StageStyle.TRANSPARENT); into the code, all ...
-1
votes
1
answer
82
views
How to copy a file to a new AWS EC2 Windows instance in Terraform
I have searched, but this specific case is not coherently documented that I can find.
I just want to spin up a new windows instance in EC2 and copy a file to it. This seems it should be trivial and ...
1
vote
0
answers
121
views
Windows Update UI shows 'Updates Paused' despite updates being resumed via PowerShell script
I'm working on automating Windows Update management using a PowerShell script. The script resumes updates by modifying the registry and restarting the relevant services (wuauserv and UsoSvc), and it ...
1
vote
0
answers
40
views
When it get to the second to last window after closing said window the last window in the linked list doesn't become the focused client
All other windows focus properly just the only one left does not, when you close the second to last. Please help, here is my function. Let me know if more info is needed as well.
void remove_client(...
0
votes
0
answers
47
views
Appcrash error in window 10 for some computer
Our company is using program called visualizer.
It doesn't work at some computer and It seems It can't get the dll files.
Below is log which I extract with Windbg
************* Preparing the ...
5
votes
3
answers
455
views
Win32: Application process remains in Task Manager after closing the window
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 ...
-2
votes
1
answer
130
views
Unable to handle toggle Full Screen in OpenGL via a Window class
---------Updated---------
I am trying to create a Window class, which can take care of creating a window with basic functionalities such as toggling full screen and binding ESC to close the window and ...
-1
votes
2
answers
151
views
Change video source on screen size
I want to switch the source of a video depending on screen size. So that it is loading a small and a large video. I hope, that my site perform/loads faster. At the moment it is working with jQuery, ...
0
votes
1
answer
66
views
Minimization and saving coordinates, issues with WM_MOVE and WM_SIZE
I have a Windows application for which I want to save the window coordinates whenever the user resizes or moves it, except when those events are due to the window being minimized (the coordinates don'...
7
votes
0
answers
1k
views
What is the replacement for deprecated APIs related to edge-to-edge in Android 35+?
In my Android app, I am currently using the following deprecated APIs for edge-to-edge and system UI customizations:
android.view.Window.setDecorFitsSystemWindows
android.view.Window.setStatusBarColor
...