System Tray Icon in C++

前端 未结 2 1139
自闭症患者
自闭症患者 2020-12-16 05:33

I got a basic window made from C++. What I need to do is whenever I click the Minimize button the window will be placed in the System Tray and whenever I double click on the

相关标签:
2条回答
  • 2020-12-16 06:31

    check msdn about a struct: NOTIFYICONDATA and a function:

    BOOL Shell_NotifyIcon( DWORD dwMessage,PNOTIFYICONDATA lpdata);


    and also a demo here.

    Hope you can understand:)

    0 讨论(0)
  • 2020-12-16 06:31

    You will need to use Shell_NotifyIcon to interact with the notification area (system tray).

    0 讨论(0)
提交回复
热议问题