Questions tagged [window]

In computer science a window is a graphical interface to let a user interact with a program. Questions regarding Microsoft Windows should use the "Windows" tag.

0
votes
1answer
16 views

How to indeed center object in a JFrame?

I have a class which extends a Jframe, and i have it centered using setLocationRelativeTo(null);. The layouManager is null aswell. My JFrame: mport com.sxf.protocol.chat.util.window.AbstractField; ...
0
votes
0answers
9 views

Clickthrough Window (re)Paint not working

So, I'm creating a project that lets you select a part of your screen to then work with that part of the screen. The user interaction is basically : Mark Point 1 (top left corner) Mark Point 2 (...
1
vote
1answer
21 views

JavaFX parameter passed to new window becomes NULL [duplicate]

My problem is that the NOT NULL parameter which I passed to newly created window is NULL. I've read many posts about how to pass parameter to another window via setters and for me it seems like ...
0
votes
0answers
19 views

Multiple windows in qt QML start flickering / flashing as soon as an animation is run inside any window

I'm trying to code a prototype for a project of mine that involves multiples windows in a qml based app. Everything works pretty much as intended but when focus changes between windows and an ...
-1
votes
0answers
3 views

How can I concatenate a directory of csv files, in order of oldest to newest, and also removing their header

On windows, how can I combine an entire directory of CSV files (that are actually pipe delimited), while removing each files header, and ensuring that I am starting with the oldest file (by last ...
-1
votes
0answers
29 views

Excel freezing after some subs (without crashing) [on hold]

I develop and distribute a big macro (xlam AddIn, 100s of sub, 100s of function...) where the users (a few dozen) deals primarily with as main userform, wich runs hundreds of subs and fonctions. It ...
0
votes
1answer
11 views

bash, find order of focused windows (similar to the alt+tab menu)

High level, I'm trying to create a utility where I can map certain keys to focus the most recently focused window of a certain name. E.g., pressing sup+c will focus chrome; if no chrome windows are ...
0
votes
0answers
23 views

Switch SAP window to other monitor

At work, I work with SAP on a daily basis... As I work with 2 different monitors, I just wonder if there is a way (or shortcut) to switch an open SAP window between my 2 monitors. It would be very ...
0
votes
2answers
31 views

Java code to close desktop/native window?

I have created a desktop window using Java Swing toolkit, which is opened and the requirement is to close that window using java code. Window can be : file explorer window or any window you can ...
-1
votes
2answers
41 views

Passing Multiple Variables to HTML via Javascript

I am trying to pass a latitude AND a longitude from one page to another after it has been calculated by the google API. For a compass website. Want to pass the lat and long both to another page to ...
1
vote
1answer
29 views

Toggling a tkinter window open using shortcut

I am far from an experience programmer/scriptor and this is my first project containing UI (tkinter). I have a key on my keyboard bind to a function to open a window. I am using something like this ...
0
votes
1answer
23 views

Android app that works as a Dialog window only

I need to make an Android app that interacts with another. Like this: there is an app A, which calls app B. App B must be only a small window-dialog where data is entered, and when accepting it, the ...
0
votes
2answers
51 views

WPF Fake Full Screen

I have a project that automates/controls other Window applications by simulating keystrokes. To simulate keystrokes, I need to bring the window of that application to the front. When this is in ...
3
votes
2answers
81 views

How to get a signal when window manager is done resizing window in qt QML?

I'm trying to achieve a similar effect as iTunes' miniPlayer when resizing happens on macOS. That is, detecting when a resizing of the the window has been completed, THEN resizing the height to a ...
0
votes
1answer
15 views

How to open a new window and close the current when clicked on button in electron application?

I want to open a new window when the person clicks on the button in the first window displayed when the electron application is started. Let's suppose I want to display a new html file called 'second....
0
votes
1answer
17 views

Javafx: On button click open second selection window

I'm making a button which opens a new window containing a gridview of members, which shows their name and rank. A member can be clicked to be set as currentMember. However my JavaFX knowledge is ...
0
votes
0answers
24 views

Repeated execution syntax using folder list by window command

I found window command that gets a list of subfolder dir K:\myprojectpath\* /AD-H /B /ON and I want to create another looping execution command. With each folder name obtained as a variable But I ...
0
votes
0answers
28 views

How detect window closed (new tab) in Vue?

Need watch if that window open or closed... It working when use SetInterval and close window early but, how detect when it realy closed without SetInterval and fire it... <template> <button ...
0
votes
1answer
66 views

How to do window function inside a when?

I have a dataframe where I am trying to do window function on a array column. The logic is as follows: Group by (or window partition) the id and filtered columns. Calculate the max score of the rows ...
0
votes
0answers
7 views

How can we fetch the domain based credential, not a generic credential stored in Windows Credential Manager using python?

How can we fetch the domain based credential, not a generic credential stored in Windows Credential Manager using python? https://ibb.co/wMVwg74 I have used the Keyring library available in python ...
0
votes
0answers
10 views

Is is possible to open a child component in new window and still communicate to parent component

Is it possible to open a angular 7 child component(this child component is already inside a parent component window) into a new window and when the newly opened window gets closed the child component ...
-1
votes
0answers
29 views

How to programmatically control to which area of Windows 7 taskbar an app is minimized?

In this Super User SE question, several commenters are claiming that, in Windows 7, we programmers control where in the Windows taskbar our applications minimize to. Specifically, they are claiming, ...
0
votes
2answers
29 views

How to get window width via Javascript

I am looking for some help concerning my Jquery. I have an animation, that is opening a navigation menu, running from the right window site into the middle. What I want to do now is: When the user is ...
0
votes
0answers
4 views

How do I keep the Locals IDE window always on top while debugging?

I found a few posts that explain how to keep a programmatically created window always on top. I was unable however to find an explanation about how to keep always on top the IDE integrated Locals ...
0
votes
0answers
17 views

How to open new window

The embedded snippet works on jsfiddle but not on stackoverflow, why? also, if I remove the script and place it in the javascript area on jsfiddle it also doesn't work, why? <!DOCTYPE html>...
2
votes
1answer
56 views

How to do Sliding Window Rank in Spark using Scala?

I have a data set : +-----+-------------------+---------------------+------------------+ |query|similar_queries |model_score |count | +-----+-------------------+---------------...
0
votes
1answer
26 views

Javascript: Store a global variable for a single page application

A have a react application using a single page. I call index.html and use ajax(axio) and update the page. I do not use any routing. I have some global variables and will use in the whole scope of ...
0
votes
1answer
47 views

Window style not visible in designer

I created a Window style (WPF) and added it as a dll to my project this style shows corretly when i run the program but doesn't show up in the designer. I googled already but none of the solutions ...
0
votes
1answer
30 views

How to fix a visible position's jump of a stage in JavaFX when it starts?

I run a JavaFX program in IDEA on Ubuntu. The window, first, locates on the left-top of the screen, and then I see a jump of the window to a center. How can I handle this? I've tried different ...
0
votes
0answers
22 views

Gently hide a div after scrolling to a certain other div

Here's my problem: I want to gently hide a div, not sure if animation could be appropriate, but that's the main scope when I reach a certain div with mouse scroll. That's my code, I will explain the ...
1
vote
1answer
27 views

Finding ltk window position

Is it possible to get the position of a ltk (Common Lisp basic GUI library) window (one of its corners), in pixels from the top left screen corner? I'm trying to use mouse movement to control an ...
0
votes
1answer
42 views

Want to select specific window (object cloning) in automation anywhere 11.2

Please find the image hereI am automating a task, in that I will use a excel addin (Example addin name is AAA). While running the task it will open multiple windows but with the same name(Prompt box 1 ...
0
votes
2answers
55 views

Where is the best place to create a child control of a child window in a pure WinAPI GUI App?

I am working on a WinAPI only application. I want to create a STATIC child window that will be used as a "container" to child controls. In the examples that I have found so far, the "container" window ...
0
votes
0answers
32 views

Does a windowName of “_blank” do anything useful in modern browsers?

I know that anchor elements have a target="_blank" attribute that opens pages in a new window. Lately however, I've been seeing code all over my codebase and online that uses "_blank" as the ...
-1
votes
0answers
14 views

How do you open a pop up window to a page visitor when they are about to leave a page?

I am trying to get users to subscribe to my newsletter just when they are trying to leave my page, and I need to open a pop up box with Javascript to do this. for example on this page : https://...
1
vote
1answer
26 views

How do you specify or read the position of the main app window with guizero?

I need to specify, or just read, the position (x and y coordinates of the top left corner) of the main app window in guizero. Apparently the App object does not have x and y positions properties that ...
0
votes
2answers
16 views

Generate series of integer based on the condition of another column in Postgres

I have the following datatable create table test.my_table ( date date, daily_cumulative_precip real ); INSERT INTO test.my_table (date, daily_cumulative_precip) VALUES ('2016-...
3
votes
0answers
60 views

Is Windows really running in a virtual machine?

I've found this blog post from from Raymond Chen claiming that: Strictly speaking, what it actually represents is the resources of the other virtual machines, since Windows itself is running in a ...
1
vote
1answer
18 views

Can't access Windows Input Simulator in my C# project

After researching about how to control other applications by simulating keyboard, many people suggested that I use "inputsimulator" CodePlex I unzipped the folder and looked for .dll file to ...
0
votes
0answers
12 views

How bring a window on top of all other windows using a shortcut in electron.js

I want to make a shortcut that will bring the window with my program on top of all other windows. The shortcut is registered fine, but I can't bring my window to the top. main.js(I provided only ...
0
votes
0answers
6 views

How to put line numbers into Visual Studio's Output window?

This is probably not possible, but is there a way to put line numbers into the Output window in Visual Studio (2017)? Something like this is what I mean (see line numbers on the left of the image):
0
votes
1answer
70 views

How to recover privileges with GetTokenInformation () ? c++

I would like to recover all privileges from a username. For example privileges : "SE_ASSIGN_PRIMARY_TOKEN_PRIVILEGE", "SE_AUDIT_PRIVILEGE", "SE_DEBUG_PRIVILEGE"... I searched on the microsoft ...
0
votes
1answer
27 views

Why I can't sideload my .appx file and why it's nowhere to be found?

My question is very simple and yet very complex. I need to side load my application's .appx file to SurfacePro (Microsoft tablet with windows10) but I cannot side-load it because there's nothing to ...
0
votes
0answers
25 views

How to run code after window opened with “window.open” is closed?

I opened a window using window.open and go the reference to it. By using windowRef.window.onunload = () => this.afterWindowUnloaded.emit(this.data); I can watch the reload of the page, but can't ...
0
votes
0answers
14 views

Window Task scheduler task for multiple users

is Window task scheduler able to achieve below scenario? A task created by admin, and multiple standard user can view and run this task manually In my testing, task is only visible to a user if that ...
0
votes
0answers
9 views

Finding a way to utilize javascript utilities to made dynamic web pages more easily modifiable

I should probably preface this by saying I'm not much of a JS dev, but have a lot of experience with lower level languages. Essentially, I have separate 5 separate URLS and they're all only one ...
-1
votes
1answer
32 views

How to close a window with a Event Handler from a MenuItem

I have a MenuItem that i want to use to close the window being displayed, i have created the EventHandler<ActionEvent> and the MenuItem, Menu, and MenuBar but cannot work out a way to make it ...
0
votes
0answers
26 views

How to Remove Black Rectangle on Window Resize?

I am developing a JFrame window with Swing and AWT, and when I resize the window, it looks like this: Window resize (I apologize for the low frame rate, stackoverflow wouldn't accept a larger file ...
0
votes
0answers
59 views

How to use sample from WinBioCaptureSample to identify user?

Currently i can capture biometric sample using WinBioCaptureSample and identify user using WinBioIdentify. This required two independent bio-metric device scan for getting sample and other for ...
0
votes
0answers
36 views

How to control 'this' for window.onscroll

Background: I want to display a chart when the user has scrolled down the page to where the chart is. I have a jQ background and am slowly moving over to pure js so apologies for the mixture. Am ...

http://mssss.yulina-kosm.ru