You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.1 KiB
C

2 years ago
<EFBFBD><EFBFBD>/**
* Copyright (C) 2014-2050 359501300
* All rights reserved.
*
* @file SShellNotifyIcon.h
* @brief
* @version v1.0
* @author 359501300
* @date 2014-09-19
*
* Describe
*/
#pragma once
#define WM_ICONNOTIFY (WM_USER + 1101)
#define ID_TASKBARICON 100
/**
* @class SShellNotifyIcon
* @brief ShellNotifyIcon
*
* Describe ShellNotifyIcon
*/
class SShellNotifyIcon
{
public:
/**
* SShellNotifyIcon::SShellNotifyIcon
* @brief <EFBFBD>g <EFBFBD><EFBFBD>Qpe
*
* Describe <EFBFBD>g <EFBFBD><EFBFBD>Qpe
*/
SShellNotifyIcon();
/**
* SShellNotifyIcon::~SShellNotifyIcon
* @brief <EFBFBD>g<EFBFBD>g<EFBFBD>Qpe
*
* Describe <EFBFBD>g<EFBFBD>g<EFBFBD>Qpe
*/
virtual ~SShellNotifyIcon();
void Create(HWND hOwner,HICON hIcon,UINT uFlags = (NIF_ICON | NIF_MESSAGE | NIF_TIP), UINT uCallbackMessage = WM_ICONNOTIFY, UINT uId = ID_TASKBARICON, LPCSTR szTip = "SouiFrame");
BOOL Show();
BOOL Hide();
protected:
void IniNotifyIconData(HWND hOwner,HICON hIcon,UINT flags, UINT callbackmsg, UINT ID, LPCSTR szTip);
NOTIFYICONDATA nid;
};