home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / TaskSwitchXP / TaskSwitchXP_1.0.26.exe / Source / TaskSwitchXP / TaskSwitchXP.h < prev    next >
C/C++ Source or Header  |  2004-09-30  |  1KB  |  56 lines

  1. // TaskSwitchXP.h
  2.  
  3. #ifndef __TASKSWITCHXP_H__
  4. #define __TASKSWITCHXP_H__
  5.  
  6. //-----------------------------------------------------------
  7.  
  8. #define XMARGIN_LIST                    20
  9. #define YMARGIN_LIST                    10
  10. #define XMARGIN_PREVIEW                    20
  11. #define YMARGIN_PREVIEW                    16
  12. #define XMARGIN_ICON                    16
  13. #define YMARGIN_ICON                    16
  14. #define XMARGIN_PANE                    16
  15. #define YMARGIN_PANE                    4
  16. #define XMARGIN_SEL                        4
  17. #define YMARGIN_SEL                        4
  18.  
  19. #define CX_ICON                            32
  20. #define CY_ICON                            32
  21.  
  22. #define TIMER_PREVIEW                    4
  23.  
  24. #define IDH_EXIT                        1000
  25. #define IDH_NEXTTASK                    1001
  26. #define IDH_PREVTASK                    1002
  27. #define IDH_SWITCH                        1003
  28. #define IDH_ESCAPE                        1004
  29.  
  30. #define WM_TASKSWITCH                    (WM_USER + 984)
  31. #define WM_MYMOUSEMOVE                    (WM_USER + 20)
  32.  
  33. #define MAX_CAPTION                        80
  34.  
  35. //-----------------------------------------------------------
  36.  
  37. typedef struct TASKINFO {
  38.     HWND hwnd;
  39.     HWND hwndPv;
  40.     HICON hIcon;
  41. } *PTASKINFO;
  42.  
  43. //-----------------------------------------------------------
  44.  
  45. extern DWORD g_dwFlags;
  46.  
  47. //-----------------------------------------------------------
  48.  
  49. BOOL LoadSettings();
  50. void DestroySettings();
  51. BOOL ShowTaskSwitchWnd(UINT);
  52.  
  53. //-----------------------------------------------------------
  54.  
  55. #endif // __TASKSWITCHXP_H__
  56.