📄 shellicon.h
字号:
// ShellIcon.h: interface for the CShellIcon class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SHELLICON_H__E3F80C4B_910D_4C32_880F_E913A6EDF18A__INCLUDED_)
#define AFX_SHELLICON_H__E3F80C4B_910D_4C32_880F_E913A6EDF18A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CShellIcon
{
public:
CShellIcon();
CShellIcon(CWnd* pMainWnd,HICON hIcon, UINT uMsg,CString strTip = "");
virtual ~CShellIcon();
public:
void DeleteIcon();
void AddIcon();
void Init(CWnd* pMainWnd,UINT uMsg, CString strTip, HICON hIcon);
protected:
CWnd* m_pMainWnd; //主窗口
UINT m_uMsg; //勾通消息
NOTIFYICONDATA m_tndData;
CString m_strTip; //提示文本
HICON m_hIcon; //在任务栏上显示的图标
};
#endif // !defined(AFX_SHELLICON_H__E3F80C4B_910D_4C32_880F_E913A6EDF18A__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -