home *** CD-ROM | disk | FTP | other *** search
- //resources
- #define CM_CLOSE 101
- #define CM_EXIT 102
- #define CM_HIDE 103
- #define IDD_DIALOG1 1001
- #define ID_OK 1002
- #define IDC_EDIT 1003
-
- #if ! RC_INVOKED
-
- #define NAME "RBTrayHook"
-
- //commands
- #define WM_MYCMD 0x0401
- #define WM_TRAYCMD 0x0402
- #define WM_QUERYTRAY 0x0403
- #define WM_DELTRAY 0x0404
- #define WM_DBG 0x0405
- #define IDM_CLOSE 0x9991
- #define IDM_EXIT 0x9992
- #define IDM_RESTORE 0x9993
- #define IDM_ALWAYS_TRAY 0x9994
- #define IDM_ABOUT 0x9995
- #define IDM_DESTROY 0x9996
- #define IDM_TRAY 0x1007
- #define IDM_HIDE 0x9998
-
- #if BUILDING_DLL
- # define DLLIMPORT
- #else
- # define DLLIMPORT extern
- #endif
-
- BOOL DLLIMPORT RegisterHook(HMODULE) ;
- void DLLIMPORT UnRegisterHook(void);
- void DLLIMPORT SetProcessId(DWORD);
-
- typedef struct tagMOUSEHOOKSTRUCT {
- POINT pt;
- HWND hwnd;
- UINT wHitTestCode;
- DWORD dwExtraInfo;
- } MOUSEHOOKSTRUCT, FAR *LPMOUSEHOOKSTRUCT, *PMOUSEHOOKSTRUCT;
-
- #endif