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
3
votes
3 answers

2 Application Top Most problem

I developed 2 applications one in Win32 API and second in C# WPF. I have a problem, 2 applications must be top most, but second (in C#) must be stroger top most than first application, problem is second application is run from autostart then will be…
Svisstack
  • 16,203
  • 6
  • 66
  • 100
3
votes
0 answers

how to make a child window top most (c++ win32 SDK)

I'm trying to write a very simple gui layout designer, just like most popular IDE, something like: How to implement those 8 dots around the widget? My idea is create a transparent static control(called ghost), with 8 dots around it, reisize it to…
aj3423
  • 2,003
  • 3
  • 32
  • 70
3
votes
1 answer

Start a process TopMost

I have a C# .Net 2.0 app which implements a FullscreenMode like this: targetForm.WindowState = FormWindowState.Maximized; targetForm.FormBorderStyle = FormBorderStyle.None; targetForm.TopMost = true; WinApi.SetWinFullScreen(targetForm.Handle); //…
Marcel B
  • 3,624
  • 2
  • 27
  • 39
3
votes
2 answers

How to keep a window on top of all other windows in my application only?

I would like to display a status window in my C# Windows Forms application that informs the user when the application is waiting to acquire a lock. This is an application-defined thing, however, the window should be visible and always remain on top…
ygoe
  • 18,655
  • 23
  • 113
  • 210
2
votes
2 answers

how to open a dialog over topmost form window in C#

i have a C# program that i made that uses forms to display the control for the user. the main form open other forms on top of it, each new form is set to topmost in the program i call for PDFCreator in order to make a new PDF file, but i can't see…
Iakovl
  • 1,013
  • 2
  • 13
  • 20
2
votes
1 answer

Can you launch a process on top of the topmost window? (csharp wpf)

Can you launch a process on top of the topmost window? (csharp wpf) I have the following, but the current window before this one ( a wpf window using window class that has topmost=true ), remains on top of the process when the process is…
Chris
  • 968
  • 16
  • 27
2
votes
5 answers

Can I set ShowDialog() to not be topmost?

Is there a way I can set a ShowDialog() to not be topmost? I've looked at all the related SO questions, and none quite matched my situation. What I do is open a new WinForm from a datagridview button column. This new form pulls information from a…
Jared Harley
  • 8,219
  • 4
  • 39
  • 48
2
votes
1 answer

Non-overlapped transparent control

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 that shows a current position of a media. This…
Brain89
  • 460
  • 1
  • 4
  • 17
2
votes
2 answers

How do you make a non-modal topmost dialog that is only topmost in regards to the parent form in WinForms?

Thinking about this for an About dialog but I'm sure it's applicable in other places (say a find box) Sorry if this is a dupe, but I couldn't find this or how to articulate the last part about it only being on top of the parent. How do you make a…
Davy8
  • 30,868
  • 25
  • 115
  • 173
2
votes
1 answer

Bring openCV window to front with focus on macOS

How to bring an openCV window to foreground with focus? http://www.noah.org/wiki/OpenCV_display_window_on_top_with_focus doesn't do anything. This achieves Topmost, but not Focus: cv2.imshow('foo', my_2d_numpy_array) cv2.setWindowProperty('foo',…
P i
  • 29,020
  • 36
  • 159
  • 267
2
votes
0 answers

WPF: DataTrigger for Topmost property of Prism Window XAML

I am trying to control the Topmost property of a prism popup window with a DataTrigger, so that when a button within the XAML file is pressed, the Topmost property is set to false. I am pretty new to WPF and am not sure what I need to do to get my…
l_hirsh
  • 21
  • 2
2
votes
0 answers

Settings tab with top most = true C#

So I'm trying to make something and I know how to make topmost but how do I make it where from another tab like a settings tab make the main topmost but the check box is in a different tab then the one I want topmost? here is the code I use for just…
2
votes
1 answer

How to make orthographic text always shown/TopMost?

I have created an OpenGL text rendered with an orthographic projection and a black cube rendered with a perspective projection. So I was following this tutorial on Text Rendering in LearnOpenGL and I've made a good wrapper around the whole code to…
Beyondo
  • 2,952
  • 1
  • 17
  • 42
2
votes
0 answers

How to make a window always stay on top in .Net?(Task View)

I have a security program for my schools. What i need, I keep my Windows form up until I'm allowed to. I can partially do with the following codes.. private static readonly IntPtr HWND_TOPMOST = new IntPtr(-1); private const UInt32 SWP_NOSIZE…
2
votes
2 answers

Force MessageBox.Show to display on top

I have a simple winforms appl which will notify me when to add notes to my ticket. The problem I face is that when the application is minimised the messagebox doesnt show in front of all the other windows and programs I have open. The code I have…
PriceCheaperton
  • 5,071
  • 17
  • 52
  • 94
1 2
3
11 12