Source:TyranoMapHack/D3SceneTRAY.h
Header for the minimize to tray function.
Parent Directory: Source:TyranoMapHack
Plain Code: edit
#ifndef _TRAY_H_#define _TRAY_H_#include <windows.h>#include <windowsx.h>#include <shellapi.h>#ifndef RC_INVOKEDvoid minimize(HWND hwnd);
void restore(HWND hwnd);
bool minimized = false;
const int TASKBARCREATED = RegisterWindowMessage("TaskbarCreated");
#endif // 8: #ifndef RC_INVOKED#define IDI_ICON 0#define IDC_MINIMIZE 1#define IDI_TRAYICON 2#define IDM_TRAYEXIT 3#define IDM_TRAYHELP 4#define IDM_TRAYABOUT 5#define MSG_MINTRAYICON (WM_USER+0)#endif // 1: #ifndef _TRAY_H_