Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.8 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows/NT **/
  3. /** Copyright(c) Microsoft Corp., 1991 **/
  4. /**********************************************************************/
  5. /*
  6. BLTglob.hxx
  7. Global BLT definitions
  8. FILE HISTORY:
  9. beng 14-May-1991 Separated from blt.hxx
  10. beng 04-Oct-1991 Added Menu, Timer ID, String ID types
  11. beng 07-Oct-1991 Relocated MSGID to lmuitype
  12. beng 08-Oct-1991 Remainder of Win32 conversion
  13. */
  14. #ifndef _BLTGLOB_HXX_
  15. #define _BLTGLOB_HXX_
  16. #if defined(WIN32)
  17. typedef UINT CID;
  18. typedef UINT BMID;
  19. typedef UINT DMID;
  20. typedef UINT MID;
  21. typedef UINT TIMER_ID;
  22. #else
  23. typedef WORD CID; // control ID
  24. typedef WORD BMID; // bitmap ID
  25. typedef USHORT DMID; // display ID
  26. typedef WORD MID; // Menu ID
  27. typedef USHORT TIMER_ID; // tid
  28. #endif
  29. #define WM_USER_LMUI_BASE (WM_USER+0x1000)
  30. #define WM_BLTHELP (WM_USER_LMUI_BASE + 0)
  31. #define WM_GUILTT (WM_USER_LMUI_BASE + 1)
  32. // SPIN_GROUP stuff
  33. // Arrow button notification codes
  34. #define SPN_DECREASE (WM_USER_LMUI_BASE + 2)
  35. #define SPN_INCREASE (WM_USER_LMUI_BASE + 3)
  36. #define SPN_MAX (WM_USER_LMUI_BASE + 4)
  37. #define SPN_MIN (WM_USER_LMUI_BASE + 5)
  38. #define SPN_BIGDECREASE (WM_USER_LMUI_BASE + 6)
  39. #define SPN_BIGINCREASE (WM_USER_LMUI_BASE + 7)
  40. #define SPN_STARTTRACK (WM_USER_LMUI_BASE + 8)
  41. #define SPN_ENDTRACK (WM_USER_LMUI_BASE + 9)
  42. #define SPN_SNAPBACK (WM_USER_LMUI_BASE + 10)
  43. #define SPN_SETFOCUS (WM_USER_LMUI_BASE + 11)
  44. #define SPN_KILLFOCUS (WM_USER_LMUI_BASE + 12)
  45. #define SPN_NEWFOCUS (WM_USER_LMUI_BASE + 13)
  46. #define SPN_NEXTFIELD (WM_USER_LMUI_BASE + 14)
  47. #define SPN_PREFIELD (WM_USER_LMUI_BASE + 15)
  48. #define SPN_ARROW_BIGINC (WM_USER_LMUI_BASE + 16)
  49. #define SPN_ARROW_SMALLINC (WM_USER_LMUI_BASE + 17)
  50. #endif // _BLTGLOB_HXX_ - end of file