Why isn't my NotifyIcon showing up?

后端 未结 4 1941
暖寄归人
暖寄归人 2020-12-20 11:06

I\'m trying to get a notifyIcon to show a BalloonTip, but it won\'t show up when I press the button

 private void button1_Click(object sender, EventArgs e)
         


        
4条回答
  •  庸人自扰
    2020-12-20 12:01

    This was the fix in Windows 10:

    1. Open regedit.exe

    2. Navigate to HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced

    3. Set (or add) EnableBalloonTips (as REG_DWORD) and set value to 1

    4. Reboot.

    Perhaps, code it to check the registry and/or notify user..

提交回复
热议问题