Speech Bubble Notifications

I am trying to get notified of the appearance of something like these bubbles in an MFC application :

unused icons bubble image

the lock cap is still in the image http://www.humanized.com/weblog/images/caps_lock_indication.png

I am currently doing an interface layout in C # to show some stakeholders, so it would be nice to have it there too.

It doesn't have to be a speech bubble: it can be something like a tooltip, but it should appear without a mouse.

Hurrah!

+3
source share
4 answers

this CodeProject. , . ; , !

+6
+3

Windows ( XP), . , , CEdit ShowBalloonTip Shell_NotifyIcon API.

NotifyIcon Windows Forms, TextBox, , , interop.

+3
source

You can just use System.Windows.Forms.ToolTip.

using System.Windows.Forms;

...

ToolTip myTip = new ToolTip; // create tooltip
myTip.IsBaloon = true; // give it a round shape
myTip.SetToolTip( myTool, "You're hovering above myTool." ); // register popup message for 'myTool'
...
myTip.Show(myTool, "Forced modal pop-up.", 1000 ); // display pop up message for 1 sec at 'myTool'
+1
source

Source: https://habr.com/ru/post/1703936/


All Articles