Questions tagged [topmost]

Topmost is a universal term describing the object that is displayed on top of the others. It is usually used in connection to windows in Desktop Environments.

Topmost as a term is used to describe object with the highest z-index value. The object can be either a window (in Desktop Environment) or a HTML Element (on websites). Unlike modal, topmost allows window switching and manipulations. An example of modal window is Window's Task Manager, which stays on top by design.

170 questions
6
votes
2 answers

Make A Control Be On Top

I have this one Image and I want it to be on top of another image. (window form application, c#)
Or Betzalel
  • 2,427
  • 11
  • 47
  • 70
6
votes
1 answer

How to keep my topmost window on top?

I will first explain why I need it, because I anticipate that the first response will be "Why do you need it?". I want to detect when the mouse cursor is on an edge of the screen and I don't want to use hooks. Hence, I created one pixel wide TOPMOST…
Misko Mare
  • 113
  • 2
  • 4
6
votes
3 answers

Find the Handle of the window at the top of the screen

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 foreground... but the window DOES NOT BECOME ACTIVE...…
ezio
  • 394
  • 3
  • 12
5
votes
1 answer

Set console Top-Most in PowerShell

So while there is much advise about how to set forms topmost, i couldnt find anything that makes my console run topmost. So my question: How do I make my console run top-most during a script?
Omglolyes
  • 156
  • 11
5
votes
5 answers

How can I build a Windows application that intercepts and passes through keystrokes and mouse clicks to other applications?

I'm working with a customer who wants to add functionality to a legacy application. The application, whose vendor is useless, has a Windows Forms UI. What my customer wants is for certain functionality outside this application to be triggered when…
Robert Rossney
  • 94,622
  • 24
  • 146
  • 218
5
votes
2 answers

Is it possible to keep a Form on top of another, but not TopMost?

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 browser, my form will not be on top of it. Like a…
Thiago Souza
  • 171
  • 3
  • 12
5
votes
4 answers

Java: how to find top 10 most common String + frequency in ArrayList?

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 word + frequency in the form (String=int) E.g. the=2 …
Iona
  • 169
  • 1
  • 4
  • 12
5
votes
2 answers

Really annoying bug with TopMost property in Windows Forms

I have this Windows Forms application where it sits in the notification area. Clicking on the icon brings it up front, clicking it again (or clicking on the app X icon) sends it back. This is the type of app that having the window always on top is…
rfgamaral
  • 16,546
  • 57
  • 163
  • 275
5
votes
3 answers

C# - How to deal with 2 "TopMost" Forms?

I have a parent form that is set to be TopMost and then I have another form that opens when a button is clicked. This child form is also set to be TopMost. The first issue I had was that when I opened the child form, the application would…
user
  • 16,429
  • 28
  • 80
  • 97
5
votes
4 answers

How do I see if my form is currently on top of the other ones?

Basically, how do I tell if my program is layered above all the other ones?
Jon
  • 2,566
  • 6
  • 32
  • 52
5
votes
1 answer

new email locks outlook, forces email window as topMost

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 window, meaning I cannot click or do anything else…
ikathegreat
  • 2,311
  • 9
  • 49
  • 80
4
votes
2 answers

Delphi: Balloon Form with fsStayOnTop not working in Win7

I have an application that uses my own balloon form. This is a non-bordered, fsStayOnTop kind form. I show it with this code: ShowWindow(Handle, SW_SHOWNOACTIVATE); Visible := True; Today I realized that if I activate another application then the…
durumdara
  • 3,411
  • 4
  • 43
  • 71
4
votes
2 answers

How to put a toplevel window in front of the main window in tkinter?

Is there any way to put a toplevel window in front of the main window? Here's the code: from tkinter import * root = Tk() root.geometry('1280x720') def create_new_window(): root2 = Toplevel() …
Lenovo 360
  • 569
  • 1
  • 7
  • 27
4
votes
2 answers

How to show a topmost window without overlapping fullscreen windows

I need to show a topmost window (a balloon from the system tray) without overlapping any fullscreen windows. For example, if my topmost window appears when a user watches a movie, the window mustn't appear on top of the movie screen. The window must…
Oleg Ignatov
  • 877
  • 2
  • 8
  • 22
3
votes
1 answer

How to make window absolute topmost?

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 I'm missing? Edit: I fixed it with a timer checking…
blez
  • 4,939
  • 5
  • 50
  • 82
1
2
3
11 12