“Speech bubble” notifications

后端 未结 4 1109
谎友^
谎友^ 2020-12-19 20:18

I\'m trying to get a notification to pop up something like these bubbles in an MFC application:

4条回答
  •  旧时难觅i
    2020-12-19 21:16

    It's a standard windows mechanism (since XP), they're called Balloon Tooltips. Depending on where you want to display the balloon, you can use CEdit's ShowBalloonTip method or Shell_NotifyIcon API.

    There's NotifyIcon class in Windows Forms, but I don't know about TextBox, you would probably have to use interop.

提交回复
热议问题