topmost Questions

2

Solved

I made a little timer app using WPF and I wanted to put my app on the taskbar, but when I click anywhere on the taskbar, my app loses focus and the taskbar comes on top of my app, even though I hav...
Milli asked 24/7, 2023 at 9:49

3

Solved

The Splashscreen/Loading-Window in my WPF application is set to Topmost="True". Now this windows in on top of all other windows even when you switch to another application (because loading will tak...
Clerk asked 17/3, 2010 at 14:43

20

I want my window to be on top of all other windows in my application only. If I set the TopMost property of a window, it becomes on top of all windows of all applications and I don't want that.
Barbarese asked 30/3, 2010 at 15:43

7

Is it possible to make a window stay always on top even when other application is running on Fullscreen? I'm using right now TopMost = true but when other application is running on fullscreen mine ...
Filibeg asked 18/11, 2013 at 14:39

4

Solved

I have a clock application. I have set the Window's TopMost property. But, randomly, some other window or visual studio comes above clock. Is there any other way to make my window (clock app) to d...
Attendance asked 16/9, 2010 at 17:57

1

Solved

Good Afternoon All! Working on a script that my co-workers use, we move a lot up to Sharepoint and the objective was to make an easy method to set the file to read-only and compress it using the b...
Concertmaster asked 17/7, 2019 at 19:46

8

Solved

I've some MessageBox that I code like this: MessageBox.Show(new Form(){TopMost=true, TopLevel=True}, "Message","Title", MessageBoxButtons.YesNo, MessageBoxIcon.Warning); For a better example, I ...
Brigadier asked 9/4, 2013 at 11:49

5

Solved

I recently found out that by default MessageBoxes were not the top most form when displayed by default and I was wondering if anyone knew any circumstances when you wouldn't want the messagebox to ...
Edrisedrock asked 19/4, 2013 at 12:53

2

Solved

What I'm trying to do is simple: make my WinForm on top of another, but not topmost. Like, when I click on a window, my winform will be on top of it, but when I click on something else, like a brow...
Peggy asked 27/8, 2017 at 4:14

4

how to set the z-index windowsformhost that they are not always at the top of the WPF element ?
Godman asked 29/3, 2012 at 6:55

3

Solved

I am using the following code to open a form in a new thread: private void button1_Click(object sender, EventArgs e) { Thread thread = new Thread(ThreadProc); thread.Start(); } public void Th...
Clave asked 20/1, 2011 at 6:52

4

Solved

I am trying to find the top 10 most common Strings in an ArrayList + their count (frequency of occurrence). How may I do this with the best time complexity? The below code finds the most common w...
Jetpropelled asked 14/3, 2016 at 16:26

7

Solved

I have a form that pops up on a user's screen and has TopMost=true, but it steals the focus. How can I get it to not steal focus when it first appears?
Flyte asked 16/9, 2010 at 19:9

4

Solved

Basically, how do I tell if my program is layered above all the other ones?
Placeeda asked 21/8, 2012 at 4:38

4

Solved

I am trying to keep my window on top of the all others. I am new to C++ Win32 programming. This is my initialization of my window in WinMain: hWnd = CreateWindow(szWindowClass, szTitle, WS_OVERLAP...
Apex asked 20/2, 2013 at 20:14

1

Solved

I have a recording program that stays TopMost all the time except when I open a Modern app (Windows 8) or the Start Screen. It is possible to make a desktop application stay on top of modern apps,...
Pantechnicon asked 14/6, 2015 at 20:28

2

Solved

I have this one Image and I want it to be on top of another image. (window form application, c#)
Veliavelick asked 13/1, 2011 at 19:23

5

Solved

I have a WinForm app that has other child forms (not mdi). If the user presses "Esc" the topmost form should be closed even if it doesn't have the focus. I can use a keyboard hook to globally cat...
Pentateuch asked 16/6, 2009 at 11:17

2

I'm trying to make an application displaying a crosshair at the center of the screen and staying on top of everything else. The aim is to have a crosshair in some FPS games that doesn't provide one...
Navicert asked 18/4, 2012 at 13:47

3

Solved

I want to check when the window of an external application (a Poker On Line Game Table) jumps over all other windows because it's my turn to play. The problem is that the Game table jumps in the f...
Volpe asked 25/8, 2012 at 21:10

1

Solved

I am using the following code to read an email address from a DataGridView then create an Outlook email. This works perfectly, except that the new email is set as topMost and/or opened as a dialog ...
Sackey asked 25/5, 2012 at 18:37

1

I'm trying to make a tooltip for my video player. I use a windows media player embedded into my winform's app on c# (AxWMPLib.AxWindowsMediaPlayer) for playing video. And I have created a control t...
Entirely asked 7/9, 2011 at 10:8

1

Solved

I use the SetWindowPos api to make my window topmost with the HWND_TOPMOST param. It works fine, but still tooltips are on top of it. How to make my window on top of all. Is there an api that ...
Edmead asked 27/2, 2011 at 13:58

3

I am developing an application based on OptiTrack SDK (from NaturalPoint). I need to run the application window as "Always on Top". The window is designed in XAML and is controled in the class "Cam...
Expiate asked 4/4, 2010 at 7:41

4

Solved

I have a vector and I'm able to return highest and lowest value, but how to return 5 topmost values? Is there a simple one-line solution for this?
Insomuch asked 11/9, 2010 at 20:33

© 2022 - 2024 — McMap. All rights reserved.