Source:TyranoMapHack/D3SceneTRAY.h

From Codemotion
Jump to: navigation, search

Source:TyranoMapHack/D3SceneTRAY.h

Description

Header for the minimize to tray function.

Code

Parent Directory: Source:TyranoMapHack
Plain Code: edit

  1. #ifndef _TRAY_H_
  2. #define _TRAY_H_
  3.  
  4.  
  5. #include <windows.h>
  6. #include <windowsx.h>
  7. #include <shellapi.h>
  8.  
  9. #ifndef RC_INVOKED
  10.  
  11. void minimize(HWND hwnd);
  12. void restore(HWND hwnd);
  13.  
  14. bool minimized = false;
  15. const int TASKBARCREATED = RegisterWindowMessage("TaskbarCreated");
  16.  
  17. #endif // 8: #ifndef RC_INVOKED
  18.  
  19. #define IDI_ICON        0
  20. #define IDC_MINIMIZE    1
  21. #define IDI_TRAYICON    2
  22. #define IDM_TRAYEXIT    3
  23. #define IDM_TRAYHELP    4
  24. #define IDM_TRAYABOUT   5
  25. #define MSG_MINTRAYICON (WM_USER+0)
  26.  
  27.  
  28. #endif // 1: #ifndef _TRAY_H_
Personal tools