always-on-top

Visual Studio 2010 addin which makes floating window non-topmost

纵饮孤独 提交于 2019-12-04 19:55:47
Motivation: I miss MDI in Visual Studio 2010. In long term the best solution would probably be to have it back by Microsoft. (You can vote for this at Microsoft Connect .) However, even if Microsoft might decide to have it back, it will probably take a few years. I am therefore exploring the alternative meanwhile. Making the source window floating is a step to MDI, but it has nasty implication of the window being always on top of everything, including tool windows. Would it be possible to create an extension which would could allow my to make some floating windows not always on top? How should

C/C++/C# Force window to be on top

五迷三道 提交于 2019-12-04 05:31:46
Is the there a way to force another window to be on top? Not the application's window, but another one, already running on the system. (Windows, C/C++/C#) You can use the Win32 API BringWindowToTop . It takes an HWND. You could also use the Win32 API SetWindowPos which also allows you to do things like make the window a top-level window. SetWindowPos(that_window_handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); BringWindowToTop moves the window to the top of the Z-order (for now) but does not make it a topmost window. BringWindowToTop() has no effect if you want to bring a

How to make a dialog window always on the front at my application level

末鹿安然 提交于 2019-12-04 05:14:46
How can I make a Qt dialog window always on top at my application level? I want to make a dialog window always on the front but remember always on the front at my application level, even if I click on an empty place, I want to it stay on the front of my application only. I have tried to use setWindowFlags(Qt::WindowStaysOnTopHint) , but this makes the dialog window always on the top at the desktop level, but I want it to be on top at the my application level only. How can I do that? You can achieve this by giving the dialogs a parent. A child dialog always stays on top of its parent window. If

JavaFX Secondary Screen “Always on Top” of All Applications

删除回忆录丶 提交于 2019-12-03 16:01:01
I've read about using a JDialog to wrap a JFXPanel in order to use JDialog's alwaysOnTop method. It works, but I'm having a small issue with this hack. Since I'm using this technique to make secondary windows to my main application (popups etc), I need to set them on top of the main window. If I use the wrapper hack to do this, the top panel is "always on top" of everything (including other applications). Is there a way to put the secondary screen only on top of my application ? I don't like the fact that another application can be dragged in between the main window and secondary window of my

How to make an MDI child window stay on top of its siblings?

最后都变了- 提交于 2019-12-02 12:34:41
问题 This question is related to my previous one. I have an MFC (VC6) MDI Application which has several MDI child windows acting as different views for one document. Is it possible to set one of those frames to stay on top of the others? I have tried to call SetWindowPos( &GetParentFrame()->wndTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); and ModifyStyleEx(0, WS_EX_TOPMOST); from the CMDIChildWnd but neither appears to work. 回答1: In your CMDIChildWnd class (usually CChildFrame), add a static HWND

How to make an MDI child window stay on top of its siblings?

回眸只為那壹抹淺笑 提交于 2019-12-02 02:51:19
This question is related to my previous one. I have an MFC (VC6) MDI Application which has several MDI child windows acting as different views for one document. Is it possible to set one of those frames to stay on top of the others? I have tried to call SetWindowPos( &GetParentFrame()->wndTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); and ModifyStyleEx(0, WS_EX_TOPMOST); from the CMDIChildWnd but neither appears to work. In your CMDIChildWnd class (usually CChildFrame), add a static HWND m_hTopWnd . Set it equal to the HWND of the child you want to be always on top. Handle WM_WINDOWPOSCHANGED

Avoid application activation and focus in when clicking buttons on it - Windows API or Qt

我的梦境 提交于 2019-12-01 17:15:52
Situation: A border-less QDialog stays successfully on top of other applications. The problem is when clicking on this always-on-top application window, the following occurs: The clicked always-on-top application gets activated The clicked always-on-top application window steals the focus of previous active/focused app Is there a possibility that when clicking on this always-on-top inactive and unfocused application window, the current application does not loose activation and focus while user being still able to interact with the always-on-top application (hitting buttons or drop-down menus,

How to make child window stay on top?

江枫思渺然 提交于 2019-12-01 00:58:22
问题 I am using window.open to open a child window from the parent window. I want the child window to stay on top so the user can refer to it while making an entry in the parent window. Can this be done? I'm using Firefox at the moment, but it would be a bonus if it worked in all browsers. 回答1: How about using a popup div instead of opening a new window? 回答2: this popup layer is also good: DOMWindowDemo. 回答3: yes you can do this by this code you have give onBlur="self.focus()" in body for child

Chrome Packaged app, Always on top window

佐手、 提交于 2019-11-30 05:51:06
i am writing a text editor, i need the app window be always on top when switching to browser or e-book reader software. as i know ,for windows users, chrome doesn't provide any solution. is there any parameter to send when creating window to make window always on top? or can i provide any button in app to turn this feature on or off? Code i use to create window in bg.js: var launch = function () { chrome.app.window.create('index.html', { type: 'shell', width: 440, height: 680, minWidth: 440, maxHeight: 680, id: 'paat-start' }); }; chrome.app.runtime.onLaunched.addListener(launch); chrome

C++ console application always on top? [closed]

老子叫甜甜 提交于 2019-11-29 12:12:59
I am NOT looking for: making another window always on top making any sort of GUI - dialogs etc... on top I am however looking for a way how to make my simple C++ console application to stay always on top, just to be clear - I am looking for a way how to do this programaticly :) I tried hard searching but only found the above - what I do not want... So is there a way how to make your console app always on top programaticly in C++ on Windows ? PS: Yes there is an existing question with a coresponding title but the OP of that question is actually looking for something else (keyboard hooks,...) -