notification-area

Possible to continuously update text in the notification area?

我的梦境 提交于 2019-12-06 10:48:57
问题 I would like a to place persistent text in the notification area that updates once every second. setTicker() in the NotificationCompat.Builder class will not work, because it hides everything else in the notification area. I am only looking to place text there that is a few characters long, taking up only a small piece of the notification area. One way I think this can be done is by calling setSmallIcon(), and somehow using this small icon area to display text. I took a screenshot of an app's

How to create rich tooltips and rich balloons in notification area

£可爱£侵袭症+ 提交于 2019-12-03 12:32:01
问题 I've been wondering, whenever you call the ShowBalloonTip method of the NotifyIcon class, you get a balloon tooltip like this: Fig1: Standard Balloon Tooltip Some applications and Microsoft products are able to display more than those 'simple' balloon tips. Here are some samples: Fig2: Windows Update Balloon Tooltip (source: microsoft.com) Fig3: Hardware Driver Installation Balloon Tooltip Fig4: Hardware Removal Tooltip (Program: USB Safely Remove) A good look at Figures 2, 3, and 4 reveals

How to create rich tooltips and rich balloons in notification area

那年仲夏 提交于 2019-12-03 02:54:54
I've been wondering, whenever you call the ShowBalloonTip method of the NotifyIcon class, you get a balloon tooltip like this: Fig1: Standard Balloon Tooltip Some applications and Microsoft products are able to display more than those 'simple' balloon tips. Here are some samples: Fig2: Windows Update Balloon Tooltip (source: microsoft.com ) Fig3: Hardware Driver Installation Balloon Tooltip Fig4: Hardware Removal Tooltip (Program: USB Safely Remove) A good look at Figures 2, 3, and 4 reveals they aren't standard balloon tooltips! Fig2 has a different shape, possibly from setting the Region

How can I get the tooltips of notification-area icons?

只愿长相守 提交于 2019-11-30 09:55:54
I can enumerate the applications (handle,pid,path) with icons in the notification area, and I can control the position of the icons, but I can't get the tooltip. How can I enumerate systray icons including the tooltips? Here is my method tested with windows xp and delphi 2010 if you are using a version of delphi wich doesn't support unicode make shure you convert the strings read to ansi uses CommCtrl; function TForm1.GetIconsCount: Integer; begin Result := SendMessage(FindTrayToolbar, TB_BUTTONCOUNT, 0, 0); end; procedure TForm1.Button1Click(Sender: TObject); begin ListTips; end; function

Windows 7 style Notifications Flyouts in Delphi

怎甘沉沦 提交于 2019-11-29 23:12:29
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 figure out how to make the form close when the user clicks everywhere out of the form itself.

How can I get the tooltips of notification-area icons?

放肆的年华 提交于 2019-11-29 15:02:16
问题 I can enumerate the applications (handle,pid,path) with icons in the notification area, and I can control the position of the icons, but I can't get the tooltip. How can I enumerate systray icons including the tooltips? 回答1: Here is my method tested with windows xp and delphi 2010 if you are using a version of delphi wich doesn't support unicode make shure you convert the strings read to ansi uses CommCtrl; function TForm1.GetIconsCount: Integer; begin Result := SendMessage(FindTrayToolbar,

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

喜夏-厌秋 提交于 2019-11-29 04:33:46
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? Matt Davis The days of Windows services interacting directly with the desktop are over, so you have to find another way. What I have done is create a normal WinForms application that includes a NotifyIcon. The behavior of this application

Show a Balloon notification

好久不见. 提交于 2019-11-28 03:40:30
I'm trying to use the below code to show a Balloon notification. I've verified that it's being executed by using breakpoints. It's also showing no errors. What should I do to debug this since it's not throwing errors and not showing the balloon? private void showBalloon(string title, string body) { NotifyIcon notifyIcon = new NotifyIcon(); notifyIcon.Visible = true; if (title != null) { notifyIcon.BalloonTipTitle = title; } if (body != null) { notifyIcon.BalloonTipText = body; } notifyIcon.ShowBalloonTip(30000); } You have not actually specified an icon to display in the task bar. Running your

Show a Balloon notification

对着背影说爱祢 提交于 2019-11-27 05:12:15
问题 I'm trying to use the below code to show a Balloon notification. I've verified that it's being executed by using breakpoints. It's also showing no errors. What should I do to debug this since it's not throwing errors and not showing the balloon? private void showBalloon(string title, string body) { NotifyIcon notifyIcon = new NotifyIcon(); notifyIcon.Visible = true; if (title != null) { notifyIcon.BalloonTipTitle = title; } if (body != null) { notifyIcon.BalloonTipText = body; } notifyIcon