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

How can I track when a window is beeing activated and deactivadet?

I am making an taskbar and I need to know when the active window is changed. I don't want to use a timer. I'm thinking that maybe there is a WndProc message I can intercept. I'm using C#
Aaron de Windt
  • 16,794
  • 13
  • 47
  • 62
0
votes
3 answers

Send information between 2 wpf windows

We have 2 windows open, like a chat This is what the textBox and the button looks like: private void textBox_chat_TextChanged(object sender, TextChangedEventArgs e) { } private void button_enviar_Click(object sender, RoutedEventArgs e) { …
Qu4k3
  • 185
  • 3
  • 16
0
votes
3 answers

C# bring Form to Front following File Dialog

When I start up the program I have added code to open a file dialog box, but doing this results in the main form being sent behind Visual Studio(and other open programs) once a file has been selected. I have tried using this.BringToFront() but this…
Kelsall
  • 57
  • 2
  • 14
0
votes
1 answer

Excel Macro - Copying data from one sheet to the next

Hoping someone can help me here..... im new so go easy on me! ;-) Ive got 2 sheets - 1 "LINK" and 2 "RAW Data" Now what I want the macro to do is copy data from the "LINK" sheet and put it into the correct columns in the "raw data sheet" - however…
Hughesy
  • 1
  • 2
0
votes
1 answer

C # Detect application focus

I want to create an application that closes one of it's window when the user clicks on another application (or in other words the application loses focus or inactive). All the windows in my application to have the property TopMost = true. How I can…
user3332360
  • 105
  • 8
0
votes
1 answer

Recognize active window c#

I was wondering if it was possible for c# to be able to identify an active window. Such as if Chrome or Firefox is the active window, the program would respond to a list of commands or cases specific to when that window is active.
Holden
  • 81
  • 1
  • 8
-2
votes
1 answer

Can a Windows 11 Product Key be Used for Windows 10 Activation?

Windows 11 key activate Windows 10 Can I use a Windows 11 product key to activate Windows 10? Windows 11 cannot be run on my system for various reasons, and I have to install windows 10. I can activate my Windows 10 with a Windows 11 license
-2
votes
2 answers

Batch-VBScript Send specific key(s) specific number of times

As I asked in the Question title, how can I avoid repetitive typing of key(s) when I have to send that key multiple times. Below is my Batch-VBScript hybrid where in, for sending {DOWN} key 4 times, I tried the below code but it didn't work…
Vicky Dev
  • 1,893
  • 2
  • 27
  • 62
1 2 3
4