Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
578 B
C++
38 lines
578 B
C++
#ifndef _MY_SYSTRAY_H_
|
|
#define _MY_SYSTRAY_H_
|
|
|
|
// 2002³â 9¿ù 3ÀÏ
|
|
// º¯µ¿È£
|
|
#pragma once
|
|
|
|
#include <winsock2.h>
|
|
#include <windows.h>
|
|
#include <shellapi.h>
|
|
|
|
|
|
class CSysTray
|
|
{
|
|
private:
|
|
|
|
NOTIFYICONDATA m_IconData;
|
|
|
|
HWND m_hWnd;
|
|
HINSTANCE m_hInstance;
|
|
UINT m_uIconCount;
|
|
|
|
public:
|
|
|
|
// constructor and destructor
|
|
CSysTray(HWND hWnd, HINSTANCE hInstance);
|
|
~CSysTray();
|
|
|
|
BOOL AddIcon(const char *lpToolTip, HICON hIcon, UINT uID);
|
|
BOOL RemoveIcon();
|
|
BOOL Update();
|
|
|
|
void ShowPopupMenu(HWND hWnd, HMENU hMenu);
|
|
|
|
static const UINT GetSysTrayNotifyMsg();
|
|
};
|
|
|
|
#endif |