notification-area

Chrome Extension: close background page after closing Chrome

时光怂恿深爱的人放手 提交于 2020-07-08 05:51:02
问题 I have an extension with a background page, and by default this causes Chrome to persist after you close all windows, and puts the Chrome icon in the system-tray. I would like to avoid this -- I do not want my extension to cause the Chrome process to persist after closing all Chrome windows, nor do I want to cause Chrome to appear in the systray. According to the only docs I could find on this indicates that the user can set this option globally across all extensions, but that isn't what I'm

Chrome Extension: close background page after closing Chrome

感情迁移 提交于 2020-07-08 05:49:26
问题 I have an extension with a background page, and by default this causes Chrome to persist after you close all windows, and puts the Chrome icon in the system-tray. I would like to avoid this -- I do not want my extension to cause the Chrome process to persist after closing all Chrome windows, nor do I want to cause Chrome to appear in the systray. According to the only docs I could find on this indicates that the user can set this option globally across all extensions, but that isn't what I'm

Returning to Window previously selected before clicking Notification Area Icon

浪子不回头ぞ 提交于 2020-01-05 10:28:53
问题 I have built an application that has a Notification Area Icon, which when clicked brings up a form that is designed for a single click, after which the user can then return to what they where doing before hand. Currently, I am using this.Hide() to remove the form (either when the desired event in the form occurs, or when the form is Deactivated ), but when I do, Windows sets the users focus to the Task Bar. How can I get it to return the Users focus to the Window they where on before clicking

How could I detect when my application is minimized?

人走茶凉 提交于 2019-12-19 21:26:13
问题 I have a program with an option to enable minimizing to the taskbar's notification area. In order for this to work, I need a reliable way of detecting when the user has minimized the application. How can I do that using the Windows API in a C++ application? 回答1: When the user minimizes the window (either using the box on the title bar, or by selecting the "Minimize" option from the system menu), your application will receive a WM_SYSCOMMAND message. The wParam parameter of that message will

Windows 7 style Notifications Flyouts in Delphi

孤人 提交于 2019-12-18 10:51:03
问题 Regarding Notification Area recommendations by Microsoft, I'm looking for ideas or a Delphi component to implement Notification Area Flyouts. The first "natural" idea is to use a standard Delphi form, but I'm facing two issues with it: I can't get the form border behavior using the standard "BorderStyle" property. Tried to "mimic" the border using the GlassFrame property along with BorderStyle set to bsNone, but there's no GlassFrame when there's no border (at least, in Delphi 2007). I can't

Show a winform over the notification area

霸气de小男生 提交于 2019-12-18 06:07:26
问题 I want to show a winform in the very right down corner just above the system tray, How do I do that? Here is my code: public static void Notify() { Rectangle workingArea = Screen.PrimaryScreen.WorkingArea; Form fm = new Form(); fm.ClientSize = new Size(200, 200); int left = workingArea.Width - fm.Width; int top = workingArea.Height - fm.Height; fm.Location = new Point(left, top); fm.ShowInTaskbar = false; fm.ShowIcon = false; fm.MinimizeBox = false; fm.MaximizeBox = false; fm.FormBorderStyle

Show a winform over the notification area

你。 提交于 2019-12-18 06:07:22
问题 I want to show a winform in the very right down corner just above the system tray, How do I do that? Here is my code: public static void Notify() { Rectangle workingArea = Screen.PrimaryScreen.WorkingArea; Form fm = new Form(); fm.ClientSize = new Size(200, 200); int left = workingArea.Width - fm.Width; int top = workingArea.Height - fm.Height; fm.Location = new Point(left, top); fm.ShowInTaskbar = false; fm.ShowIcon = false; fm.MinimizeBox = false; fm.MaximizeBox = false; fm.FormBorderStyle

How can I show a Notification Area Balloon and Icon from a Windows Service?

旧时模样 提交于 2019-12-18 04:55:17
问题 I have a Windows Service that is always running when the user starts their workstation. This Windows Service is critical and I would like to show a Balloon Notification in the Notification Area when certain things happen such as the Service Stops, Starts, Restarts etc. For example: Also, is there a way to show a Notification Area Icon for my Windows Service? 回答1: The days of Windows services interacting directly with the desktop are over, so you have to find another way. What I have done is

Are Windows-GUI calls (creating visible windows, etc.) allowed in a Windows-Service?

↘锁芯ラ 提交于 2019-12-11 11:05:15
问题 First off, I know some proper ways of making a truly interactive Windows Service. The situation is, I do have a tool that does not interact with the user as such. However, it does display non-blocking notifications both via popup windows and via the Windows Notification Area (aka System Tray). It also writes a logfile of the notifications it displays. This tool is normally spawned by a main user application and as long as the main application is a normal application, these notifications do

progress bar in Notification area is not closing and not starting the second progress bar

走远了吗. 提交于 2019-12-11 05:14:48
问题 in my app i have 4 buttons and when the user clicks any of the button it starts downloading a file and the progress bar gets shown in the notification area. The downloading and progress bar is working fine, but i have the following two problems When the download completes the progress bar is not getting closed, it remains in the notification area As i said above i have 4 buttons and when the first button is clicked download gets started and when the other three buttons are clicked immediately