home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 May / PCWorld_2003-05_cd.bin / Software / Vyzkuste / rbtray / rbtray.h < prev    next >
Text File  |  1999-10-27  |  1KB  |  45 lines

  1. //resources
  2. #define CM_CLOSE                        101
  3. #define CM_EXIT                         102
  4. #define CM_HIDE                         103
  5. #define IDD_DIALOG1                     1001
  6. #define ID_OK                           1002
  7. #define IDC_EDIT                        1003
  8.  
  9. #if ! RC_INVOKED
  10.  
  11. #define NAME "RBTrayHook"
  12.  
  13. //commands
  14. #define WM_MYCMD     0x0401
  15. #define WM_TRAYCMD   0x0402
  16. #define WM_QUERYTRAY 0x0403
  17. #define WM_DELTRAY   0x0404
  18. #define WM_DBG         0x0405
  19. #define IDM_CLOSE       0x9991
  20. #define IDM_EXIT        0x9992
  21. #define IDM_RESTORE     0x9993
  22. #define IDM_ALWAYS_TRAY 0x9994
  23. #define IDM_ABOUT       0x9995
  24. #define IDM_DESTROY     0x9996
  25. #define IDM_TRAY        0x1007
  26. #define IDM_HIDE        0x9998
  27.  
  28. #if BUILDING_DLL
  29. #  define DLLIMPORT
  30. #else
  31. #  define DLLIMPORT extern
  32. #endif
  33.  
  34. BOOL DLLIMPORT RegisterHook(HMODULE) ;
  35. void DLLIMPORT UnRegisterHook(void);
  36. void DLLIMPORT SetProcessId(DWORD);
  37.  
  38. typedef struct tagMOUSEHOOKSTRUCT {
  39.     POINT   pt;
  40.     HWND    hwnd;
  41.     UINT    wHitTestCode;
  42.     DWORD   dwExtraInfo;
  43. } MOUSEHOOKSTRUCT, FAR *LPMOUSEHOOKSTRUCT, *PMOUSEHOOKSTRUCT;
  44.  
  45. #endif