home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-30 | 916 b | 40 lines | [TEXT/CWIE] |
- /*
- MacMisc.h
- This file contains misc stuff that was needed to port the ActiveX
- Plugin to MetroWerks
-
- James O'Connor
- 5/30/96
- */
-
-
- /* I took this out of Xsite.cpp, it was used in Vkey.h
- and I assume it's in some WLM header somewhere
- */
- /*typedef struct tagMSG {
- HWND hwnd;
- UINT message;
- WPARAM wParam;
- LPARAM lParam;
- DWORD time;
- DWORD pt[2];
- } MSG;*/
-
-
- // jjo stolen from WINWLM.H
-
- #define VK_UNKNOWN 0xF4
- #define VK_OPTION 0xF5
- #define VK_COMMAND VK_MENU
-
-
- // From WINDEF.h
- #define MAKEWORD(a, b) ((WORD)(((BYTE)(a)) | ((WORD)((BYTE)(b))) << 8))
- #define MAKELONG(a, b) ((LONG)(((WORD)(a)) | ((DWORD)((WORD)(b))) << 16))
- #define LOWORD(l) ((WORD)(l))
- #define HIWORD(l) ((WORD)(((DWORD)(l) >> 16) & 0xFFFF))
- #define LOBYTE(w) ((BYTE)(w))
- #define HIBYTE(w) ((BYTE)(((WORD)(w) >> 8) & 0xFF))
-
-
-