Having the application minimize to the system tray when button is clicked?

后端 未结 3 667
粉色の甜心
粉色の甜心 2020-12-19 06:36

How can I have my application minimize itself to the system tray in WindowsXP/Vista?

I\'m also looking for a way to have a message display itself when the mouse is

3条回答
  •  悲&欢浪女
    2020-12-19 07:02

    The popup balloon will display whatever is shown in the form's title bar (which is the form's .Text property). I don't know of any way to make it multi-lined (if there is a way, it's sure to be complicated and probably not worth the trouble).

    This earlier question gives some answers to the basic question. Your toolbox contains a control called NotifyIcon - use this to place an icon in the system tray.

提交回复
热议问题