📄 trayiconcontroler.h
字号:
#ifndef TRAY_ICON_CONTROLER_H
#define TRAY_ICON_CONTROLER_H
#include <windows.h>
#define ADD NIM_ADD
#define REMOVE NIM_DELETE
// code d'erreur
#define INCORRECT_OPERATION 1
#define OPERATION_INCOHERENT 2
class trayIconControler
{
public:
trayIconControler(HWND hwnd, UINT uID, UINT uCBMsg, HICON hicon, char *tip);
int doTrayIcon(DWORD op);
bool isInTray() const {return _isIconShowed;};
private:
NOTIFYICONDATA _nid;
bool _isIconShowed;
};
#endif //TRAY_ICON_CONTROLER_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -