C++ CLI NotifyIcon Show Balloon

518 views Asked by At

C++/CLR Visual Studio

I am using a NotifyIcon which is initialized and is showed with the correct icon and text when I launch my application. But I want to display a Balloon to the user. This is however not showing up.

notIcon->BalloonTipText = "Test";
notIcon->BalloonTipTitle = "Test";
notIcon->BalloonTipIcon = ToolTipIcon::Info;
notIcon->ShowBalloonTip(10000);

I have this code on a button and when I click the button it does go to this I checked with breakpoints. Nothing is showing and I get no errors/warnings.

I also added a messagebox and breakpoint at the BalloonTipShown method of the control but it never hits it.

I'm not sure what I'm doing wrong. Thanks in advance.

1

There are 1 answers

0
Achille Depla On BEST ANSWER

Had it disabled in windows, my mistake.