0

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.

Hans Passant
  • 922,412
  • 146
  • 1,693
  • 2,536
Achille Depla
  • 97
  • 1
  • 10

1 Answers1

0

Had it disabled in windows, my mistake.

Achille Depla
  • 97
  • 1
  • 10