Questions tagged [active-window]

The window in front of all other open windows, on a graphical user interface. For example, the Internet browser window you are using to read this web page is considered the active program or active window.

The window in front of all other open windows, on a graphical user interface. For example, the Internet browser window you are using to read this web page is considered the active program or active window.

53 questions
0
votes
1 answer

Can a window receive messages without being the active window?

I have tested making a default window, and I have tested a message-only window both on a separate thread from the main thread. The goal is to receive WM_INPUT from HID devices from outside the main thread. The reason is that the main thread loop…
Physician
  • 483
  • 2
  • 7
0
votes
0 answers

I want to make sure that windows that are not directly selected in Windows 10 are never TOP of ALL

I wonder if you have a Windows 10 setup or software. While viewing a browser or another window, the window is forced to switch if one program installation is complete, or if one game is completely loaded. Is there a way to set the window so that it…
0
votes
2 answers

Javafx - change Theme (CSS) on active window

I want a Button that allows me to switch between Dark/Light-mode. But I have the problem If I switch, the active windows will not change their Style. First of the Code snippets to easy recreate the problem. For Maven projects starter class: package…
Muddyblack k
  • 314
  • 3
  • 16
0
votes
2 answers

How to get Icon of Current Active Window in C Sharp?

As we can get the title of active window in c sharp using method ActiveWindowTitle(). Now I need to get The icon of above same window. how can I do that?
0
votes
1 answer

How can I detect the active window in Crostini?

I would like to programmatically detect the active window, and its meta data -- like app name and title -- in Chromebook's Linux Crostini. Does anyone know how this can reliably be done? FWIW, I've already tried the following three methods in python…
gcdev
  • 1,406
  • 3
  • 17
  • 30
0
votes
0 answers

Read data from active window in Java

Is there any way to read data from a program which is developed using SWING. I am able to read Title of the window using Native JNA. I have tried the below code and it is giving me the title of window. public class JNATest { HWND window =…
Vaibhav
  • 113
  • 1
  • 5
0
votes
1 answer

Script opens infinite instances of Internet Explorer, without setting active window

I wrote a vbscript program to automatically join Google Meet sessions, with the code that is required to enter the meet generated based on the date and time. Whenever I run the program, it opens in the background of the computer in infinite…
0
votes
1 answer

Folder started from batch file is not active window

I have the following batch file which basically copies another bat file from the shared folder, selects this bat file and sends ENTER key with sendkeys option. It all works fine on Windows 7, however, as soon as I try to use the same feature on…
laniakea
  • 81
  • 1
  • 11
0
votes
2 answers

How do I start C# program without the window being active?

I'm trying to create a C# program, but I don't want the window to be active when I open it. I'd like it to open in the background, and the window to show up on top of my other programs, except I want my active window to stay the same. It's because…
KPopOG
  • 85
  • 9
0
votes
2 answers

C++, MFC Feature Pack,Mdi childs visibility

I have an MDI MFC FEATURE PACK app in vs2008. I do need to determine what child window(s) are visible , even if multiple tab groups are created by the user, and also what is the last activated MDI child. I have found that in my mainframe…
Pifcnt
  • 117
  • 1
  • 10
0
votes
1 answer

VB6 - Issues with being in the background to another program window?

I have created a VB6 program which runs in the background to another program. It means the program window will be in the back only to this other program. I am using this code for it, Private Declare Function FindWindow1 Lib "User32" Alias…
Codename K
  • 890
  • 4
  • 23
  • 52
0
votes
1 answer

get active window in python

I'm bored and just making something for the heck of it in Python. I saw someone typing with spaces between all their letters and decided to make a python script that does this. It was pretty easy, but then I wanted to take it a step further, because…
VyleKyle
  • 1
  • 2
0
votes
1 answer

How can detect that the flash movie projector is active window

How can detect that the flash movie projector is active window
sbtunx
  • 1
0
votes
2 answers

Send key to active window

Hey. I don't know if this is possible, but worth a shot. Say there's a third party racing game which doesn't use the mouse. Is there a way for me to create a Windows Form app which listens for mouse clicks and transfers a corresponding key to the…
XSL
  • 2,965
  • 7
  • 38
  • 61
0
votes
0 answers

How to get active window and child's title on remote pc using vb.net

I'm developing a winform application that can retrieve the names of running excel document. I can retrieve it locally but I can't figure out how can I retrieve it from a remote pc. The way I did on local pc was searching for the EXCEL.exe process…
WLeo
  • 203
  • 2
  • 16