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.

84 lines
3.5 KiB

  1. #ifndef _TRAYP_INC
  2. #define _TRAYP_INC
  3. #define TBC_SETACTIVEALT (WM_USER + 50) // 50=0x32
  4. #define TBC_VERIFYBUTTONHEIGHT (WM_USER + 51)
  5. #define TBC_CANMINIMIZEALL (WM_USER + 52)
  6. #define TBC_MINIMIZEALL (WM_USER + 53)
  7. #define TBC_WARNNODROP (WM_USER + 54)
  8. #define TBC_SETPREVFOCUS (WM_USER + 55)
  9. #define TBC_FREEPOPUPMENUS (WM_USER + 56)
  10. #define TBC_SYSMENUCOUNT (WM_USER + 57)
  11. #define TBC_CHANGENOTIFY (WM_USER + 58)
  12. #define TBC_POSTEDRCLICK (WM_USER + 59)
  13. #define TBC_MARKFULLSCREEN (WM_USER + 60)
  14. #define TBC_TASKTAB (WM_USER + 61)
  15. #define TBC_BUTTONHEIGHT (WM_USER + 62)
  16. #define WMTRAY_PROGCHANGE (WM_USER + 200) // 200=0xc8
  17. #define WMTRAY_RECCHANGE (WM_USER + 201)
  18. #define WMTRAY_FASTCHANGE (WM_USER + 202)
  19. // was WMTRAY_DESKTOPCHANGE (WM_USER + 204)
  20. #define WMTRAY_COMMONPROGCHANGE (WM_USER + 205)
  21. #define WMTRAY_COMMONFASTCHANGE (WM_USER + 206)
  22. #define WMTRAY_FAVORITESCHANGE (WM_USER + 207)
  23. #define WMTRAY_REGISTERHOTKEY (WM_USER + 230)
  24. #define WMTRAY_UNREGISTERHOTKEY (WM_USER + 231)
  25. #define WMTRAY_SETHOTKEYENABLE (WM_USER + 232)
  26. #define WMTRAY_SCREGISTERHOTKEY (WM_USER + 233)
  27. #define WMTRAY_SCUNREGISTERHOTKEY (WM_USER + 234)
  28. #define WMTRAY_QUERY_MENU (WM_USER + 235)
  29. #define WMTRAY_QUERY_VIEW (WM_USER + 236) // 236=0xec
  30. #define WMTRAY_TOGGLEQL (WM_USER + 237)
  31. // #define TM_POSTEDRCLICK (WM_USER+0x101)
  32. #define TM_CONTEXTMENU (WM_USER+0x102)
  33. #define TM_FACTORY (WM_USER+0x103) // OPK tools use this
  34. #define TM_ACTASTASKSW (WM_USER+0x104)
  35. #define TM_LANGUAGEBAND (WM_USER+0x105)
  36. #define TM_RELAYPOSCHANGED (WM_USER + 0x150)
  37. #define TM_CHANGENOTIFY (WM_USER + 0x151)
  38. #define TM_BRINGTOTOP (WM_USER + 0x152)
  39. #define TM_WARNNOAUTOHIDE (WM_USER + 0x153)
  40. // #define TM_WARNNODROP (WM_USER + 0x154)
  41. // #define TM_NEXTCTL (WM_USER + 0x155)
  42. #define TM_DOEXITWINDOWS (WM_USER + 0x156)
  43. #define TM_SHELLSERVICEOBJECTS (WM_USER + 0x157)
  44. #define TM_DESKTOPSTATE (WM_USER + 0x158)
  45. #define TM_HANDLEDELAYBOOTSTUFF (WM_USER + 0x159)
  46. #define TM_GETHMONITOR (WM_USER + 0x15a)
  47. #ifdef DEBUG
  48. #define TM_NEXTCTL (WM_USER + 0x15b)
  49. #endif
  50. #define TM_UIACTIVATEIO (WM_USER + 0x15c)
  51. #define TM_ONFOCUSCHANGEIS (WM_USER + 0x15d)
  52. #define TM_MARSHALBS (WM_USER + 0x15e)
  53. // was TM_THEATERMODE, do not reuse (WM_USER + 0x15f)
  54. #define TM_KILLTIMER (WM_USER + 0x160)
  55. #define TM_REFRESH (WM_USER + 0x161)
  56. #define TM_SETTIMER (WM_USER + 0x162)
  57. #define TM_DOTRAYPROPERTIES (WM_USER + 0x163)
  58. #define TM_PRIVATECOMMAND (WM_USER + 0x175)
  59. #define TM_HANDLESTARTUPFAILED (WM_USER + 0x176)
  60. // #define TM_CHANGENOTIFY (WM_USER + 0x177)
  61. #define TM_STARTUPAPPSLAUNCHED (WM_USER + 0x178)
  62. #define TM_RAISEDESKTOP (WM_USER + 0x179)
  63. #define TM_SETPUMPHOOK (WM_USER + 0x180)
  64. #define TM_WORKSTATIONLOCKED (WM_USER + 0x181)
  65. #define TM_STARTMENUDISMISSED (WM_USER + 0x182)
  66. #define TM_SHOWTRAYBALLOON (WM_USER + 0x190)
  67. #define Tray_GetHMonitor(hwndTray, phMon) \
  68. (DWORD)SendMessage((hwndTray), TM_GETHMONITOR, 0, (LPARAM)(HMONITOR *)phMon)
  69. #endif // _TRAYP_INC