NOTIFYICONDATA\shell_notifyicon\LoadIcon

NOTIFYICONDATA
This structure contains information that the system needs to process taskbar status area messages.
https://baike.baidu.com/item/NOTIFYICONDATA/6123487?fr=aladdin
https://docs.microsoft.com/en-us/previous-versions/windows/embedded/ms911889(v%3Dmsdn.10)

shell_notifyicon
主要用于向任务栏的状态栏发送一个消息。
https://baike.baidu.com/item/shell_notifyicon

AfxGetApp( )
这个函数可以得到当前应用进程的指针,是CWinApp*类型的,通过这个指针可以访问到这个进程中的对象。
https://baike.baidu.com/item/AfxGetApp

LoadIcon
函数从与hInstance模块相关联的可执行文件中装入lpIconName指定的图标资源,仅当图标资源还没有被装入时该函数才执行装入操作,否则只获取装入的资源句柄。
https://baike.baidu.com/item/LoadIcon
https://www.cnblogs.com/mychj2008/p/3668902.html

猜你喜欢

转载自blog.csdn.net/fnjejkd/article/details/88692333