always-on-top

Chrome Packaged app, Always on top window

ぐ巨炮叔叔 提交于 2019-12-18 12:09:14
问题 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,

Always-in-front dialogs

99封情书 提交于 2019-12-17 16:46:09
问题 Is there a way to create a modeless dialog box in C++ MFC which always stays on top of the other windows in the application? I'm thinking sort of like the Find dialog in Visual Studio 2005 - where it stays on top, but you can still edit the underlying text. (If it makes any difference, it's not MDI; it's a dialog-based app) 回答1: From Nish: Making your dialog stay on top Haven't you seen programs which have an "always-stay-on-top" option? Well the unbelievable thing is that you can make your

<div> layer on top of PDF

让人想犯罪 __ 提交于 2019-12-17 06:39:10
问题 So, the problem I face is like this: I have a layer, which it will be placed on top of a pdf on the page. The PDF is either using to embed, or iframe to include it. However, CSS style doesn't apply on PDF (because it is a plug-in? ). Therefore, even I put z-index:1000 for the , that layer still goes behind the PDF. any idea how to fix that? here is th code: <style type="text/css"> <!--#apDiv1 { position:absolute; left:543px; top:16px; width:206px; height:223px; z-index:1000; background-color:

<div> layer on top of PDF

我的梦境 提交于 2019-12-17 06:39:05
问题 So, the problem I face is like this: I have a layer, which it will be placed on top of a pdf on the page. The PDF is either using to embed, or iframe to include it. However, CSS style doesn't apply on PDF (because it is a plug-in? ). Therefore, even I put z-index:1000 for the , that layer still goes behind the PDF. any idea how to fix that? here is th code: <style type="text/css"> <!--#apDiv1 { position:absolute; left:543px; top:16px; width:206px; height:223px; z-index:1000; background-color:

Make a window appear on top of another, block access to other windows until button clicked

半城伤御伤魂 提交于 2019-12-12 23:30:29
问题 Python 2.7, PyQt4.8.5 I want to have a main app window and then a second pop up window to display com port settings. This window should always be on top of the parent window until either the ok or the cancel button is clicked; closing the child window. (sort of like a required answer i.e. cant process until you choose the settings from the child window) Is there a Python Qt command to do this? Apologies if this has been asked/answered before, my search returned nothing useful. 回答1: You want a

How to make a click- and see-through 'always on top'-window [duplicate]

南楼画角 提交于 2019-12-12 14:20:58
问题 This question already has an answer here : Click through transparency for Visual C# Window Forms? (1 answer) Closed 6 years ago . I want to display an semi-transparent always-on-top window with some information, but I do not want this window to take input or receive focus. All mouse-clicks should go to the underlaying window. I remember seeing this in a shell-replacement application years back, but I can't remeber witch. Any Ideas how to achieve this effect with delphi or c#? Update: I can't

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

你离开我真会死。 提交于 2019-12-12 08:45:00
问题 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? 回答1: You

Always on top Popup windows

爷,独闯天下 提交于 2019-12-11 16:21:30
问题 I need to have a popup window that will overlay a current window such that the user can click back and forth without the popup disappearing behind it. The popup must also be movable. I've tried a few pseudo popups like Zebra. They have a good modal popup, but their displays are not movable and are limited to the current screen only. Imagine: The user is reading a record and wants to popup more information. Then the user wants to change records on the main screen and bring up a second popup so

UITableView sections to always stay within view

岁酱吖の 提交于 2019-12-10 17:39:27
问题 I have a UITableView with 3 sections: section 1: the header title of this section is "Players" and the cotent is exactly 1 cell containing a horizontal list of 1-4 players names. section 2: the header title of this section is "Rounds" and the content is X cells each containing a horizontal list of each respective players score for round X. section 3: the header title of this section is "Totals" and the content is exactly 1 cell containing the sum of each player's round scores. Right now, all

Get NSWindow from kCGWindowNumber

帅比萌擦擦* 提交于 2019-12-10 12:44:46
问题 From k CGWindowNumber , how do I get NSWindow ref. I tried using: [NSApp windowWithWindowNumber:windowNumber] but I always get a null value. I need to get the NSWindow to apply [window setlevel:NSFloatingWindowLevel] , that I have set the always on top of a given window. Does anyone know how to solve this problem or has any alternative solution? Thanks for the answer, but this is not the solution, I had already tried but it does not work, actually I did a test , I tried the following code: