Leaked source code of windows server 2003
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.

111 lines
5.8 KiB

  1. #ifndef _DEFVIEW_H
  2. #define _DEFVIEW_H
  3. // Private window messages
  4. #define WM_DSV_FSNOTIFY (WM_USER+0xA0)
  5. #define WM_DSV_BACKGROUNDENUMDONE (WM_USER+0xA2)
  6. #define WM_DSV_UPDATEICON (WM_USER+0xA3)
  7. #define WM_DSV_SHOWDRAGIMAGE (WM_USER+0xA4)
  8. #define WM_DSV_DISABLEACTIVEDESKTOP (WM_USER+0xA6)
  9. #define WM_DSV_REARRANGELISTVIEW (WM_USER+0xA7)
  10. #define WM_DSV_SENDSELECTIONCHANGED (WM_USER+0xA8)
  11. #define WM_DSV_UPDATECOLDATA (WM_USER+0xA9)
  12. #define WM_DSV_UPDATEOVERLAY (WM_USER+0xAB)
  13. #define WM_DSV_DESKHTML_CHANGES (WM_USER+0xAC)
  14. #define WM_DSV_FILELISTENUMDONE (WM_USER+0xAD)
  15. #define WM_DSV_DELAYWINDOWCREATE (WM_USER+0xAE)
  16. #define WM_DSV_DELAYSTATUSBARUPDATE (WM_USER+0xAF)
  17. #define WM_DSV_STARTPAGE_TURNONOFF (WM_USER+0xB0)
  18. #define WM_DSV_UPDATETHUMBNAIL (WM_USER+0xB1)
  19. #define WM_DSV_DELAYED_DESTROYWND (WM_USER+0xB2)
  20. #define WM_DSV_DELAYINFOTIP (WM_USER+0xB3)
  21. #define WM_DSV_GROUPINGDONE (WM_USER+0xB4)
  22. #define WM_DSV_SENDNOITEMSTATECHANGED (WM_USER+0xB5)
  23. #define WM_DSV_ADJUSTRECYCLEBINPOSITION (WM_USER+0xB6)
  24. #define WM_DSV_ENSURE_COLUMNS_LOADED (WM_USER+0xB7)
  25. #define WM_DSV_SETIMPORTANTCOLUMNS (WM_USER+0xB8)
  26. // reuse (WM_USER+0xB9)
  27. #define WM_DSV_SETITEMGROUP (WM_USER+0xBA)
  28. #define WM_DSV_FILELISTFILLDONE (WM_USER+0xBB)
  29. #define WM_DSV_POSTCREATEINFOTIP (WM_USER+0xBC)
  30. typedef struct
  31. {
  32. int iImage;
  33. int iItem;
  34. LPITEMIDLIST pidl;
  35. }DSV_UPDATETHUMBNAIL;
  36. #define MAX_EXT_VIEWS (SFVIDM_VIEW_EXTLAST - SFVIDM_VIEW_EXTFIRST + 1)
  37. ///// help string ids
  38. #define SFVIDS_MH_FIRST (IDS_MH_SFVIDM_FIRST - SFVIDM_FIRST)
  39. #define SFVIDS_MH_FILE_LINK (SFVIDS_MH_FIRST + SFVIDM_FILE_LINK)
  40. #define SFVIDS_MH_FILE_DELETE (SFVIDS_MH_FIRST + SFVIDM_FILE_DELETE)
  41. #define SFVIDS_MH_FILE_RENAME (SFVIDS_MH_FIRST + SFVIDM_FILE_RENAME)
  42. #define SFVIDS_MH_FILE_PROPERTIES (SFVIDS_MH_FIRST + SFVIDM_FILE_PROPERTIES)
  43. #define SFVIDS_MH_EDIT_UNDO (SFVIDS_MH_FIRST + SFVIDM_EDIT_UNDO)
  44. #define SFVIDS_MH_EDIT_CUT (SFVIDS_MH_FIRST + SFVIDM_EDIT_CUT)
  45. #define SFVIDS_MH_EDIT_COPY (SFVIDS_MH_FIRST + SFVIDM_EDIT_COPY)
  46. #define SFVIDS_MH_EDIT_PASTE (SFVIDS_MH_FIRST + SFVIDM_EDIT_PASTE)
  47. #define SFVIDS_MH_EDIT_PASTELINK (SFVIDS_MH_FIRST + SFVIDM_EDIT_PASTELINK)
  48. #define SFVIDS_MH_EDIT_PASTESPECIAL (SFVIDS_MH_FIRST + SFVIDM_EDIT_PASTESPECIAL)
  49. #define SFVIDS_MH_EDIT_COPYTO (SFVIDS_MH_FIRST + SFVIDM_EDIT_COPYTO)
  50. #define SFVIDS_MH_EDIT_MOVETO (SFVIDS_MH_FIRST + SFVIDM_EDIT_MOVETO)
  51. #define SFVIDS_MH_MENU_SELECT (SFVIDS_MH_FIRST + SFVIDM_MENU_SELECT)
  52. #define SFVIDS_MH_SELECT_ALL (SFVIDS_MH_FIRST + SFVIDM_SELECT_ALL)
  53. #define SFVIDS_MH_SELECT_INVERT (SFVIDS_MH_FIRST + SFVIDM_SELECT_INVERT)
  54. #define SFVIDS_MH_MENU_VIEW (SFVIDS_MH_FIRST + SFVIDM_MENU_VIEW)
  55. #define SFVIDS_MH_VIEW_ICON (SFVIDS_MH_FIRST + SFVIDM_VIEW_ICON)
  56. #define SFVIDS_MH_VIEW_TILE (SFVIDS_MH_FIRST + SFVIDM_VIEW_TILE)
  57. #define SFVIDS_MH_VIEW_THUMBNAILS (SFVIDS_MH_FIRST + SFVIDM_VIEW_THUMBNAIL)
  58. #define SFVIDS_MH_VIEW_THUMBSTRIP (SFVIDS_MH_FIRST + SFVIDM_VIEW_THUMBSTRIP)
  59. #define SFVIDS_MH_VIEW_SMALLICON (SFVIDS_MH_FIRST + SFVIDM_VIEW_SMALLICON)
  60. #define SFVIDS_MH_VIEW_LIST (SFVIDS_MH_FIRST + SFVIDM_VIEW_LIST)
  61. #define SFVIDS_MH_VIEW_DETAILS (SFVIDS_MH_FIRST + SFVIDM_VIEW_DETAILS)
  62. #define SFVIDS_MH_VIEW_PAGE (SFVIDS_MH_FIRST + SFVIDM_VIEW_PAGE)
  63. #define SFVIDS_MH_VIEW_OPTIONS (SFVIDS_MH_FIRST + SFVIDM_VIEW_OPTIONS)
  64. #define SFVIDS_MH_VIEW_CUSTOMWIZARD (SFVIDS_MH_FIRST + SFVIDM_VIEW_CUSTOMWIZARD)
  65. #define SFVIDS_MH_VIEW_COLUMNSETTINGS (SFVIDS_MH_FIRST + SFVIDM_VIEW_COLSETTINGS)
  66. #define SFVIDS_MH_MENU_ARRANGE (SFVIDS_MH_FIRST + SFVIDM_MENU_ARRANGE)
  67. #define SFVIDS_MH_ARRANGE_AUTO (SFVIDS_MH_FIRST + SFVIDM_ARRANGE_AUTO)
  68. #define SFVIDS_MH_ARRANGE_AUTOGRID (SFVIDS_MH_FIRST + SFVIDM_ARRANGE_AUTOGRID)
  69. #define SFVIDS_MH_TOOL_CONNECT (SFVIDS_MH_FIRST + SFVIDM_TOOL_CONNECT)
  70. #define SFVIDS_MH_TOOL_DISCONNECT (SFVIDS_MH_FIRST + SFVIDM_TOOL_DISCONNECT)
  71. #define SFVIDS_MH_HELP_TOPIC (SFVIDS_MH_FIRST + SFVIDM_HELP_TOPIC)
  72. #define SFVIDS_MH_GROUPBY (SFVIDS_MH_FIRST + SFVIDM_GROUPBY)
  73. //tool tips
  74. #define IDS_TT_VIEW_ICON (IDS_TT_SFVIDM_FIRST + SFVIDM_VIEW_ICON)
  75. #define IDS_TT_VIEW_SMALLICON (IDS_TT_SFVIDM_FIRST + SFVIDM_VIEW_SMALLICON)
  76. #define IDS_TT_VIEW_LIST (IDS_TT_SFVIDM_FIRST + SFVIDM_VIEW_LIST)
  77. #define IDS_TT_VIEW_DETAILS (IDS_TT_SFVIDM_FIRST + SFVIDM_VIEW_DETAILS)
  78. #define IDS_TT_VIEW_PAGE (IDS_TT_SFVIDM_FIRST + SFVIDM_VIEW_PAGE)
  79. #define IDS_TT_VIEW_VIEWMENU (IDS_TT_SFVIDM_FIRST + SFVIDM_VIEW_VIEWMENU)
  80. #define IDS_TT_TOOL_CONNECT (IDS_TT_SFVIDM_FIRST + SFVIDM_TOOL_CONNECT)
  81. #define IDS_TT_TOOL_DISCONNECT (IDS_TT_SFVIDM_FIRST + SFVIDM_TOOL_DISCONNECT)
  82. #define IDS_TT_EDIT_CUT (IDS_TT_SFVIDM_FIRST + SFVIDM_EDIT_CUT)
  83. #define IDS_TT_EDIT_COPY (IDS_TT_SFVIDM_FIRST + SFVIDM_EDIT_COPY)
  84. #define IDS_TT_EDIT_PASTE (IDS_TT_SFVIDM_FIRST + SFVIDM_EDIT_PASTE)
  85. #define IDS_TT_EDIT_UNDO (IDS_TT_SFVIDM_FIRST + SFVIDM_EDIT_UNDO)
  86. #define IDS_TT_FILE_DELETE (IDS_TT_SFVIDM_FIRST + SFVIDM_FILE_DELETE)
  87. #define IDS_TT_FILE_PROPERTIES (IDS_TT_SFVIDM_FIRST + SFVIDM_FILE_PROPERTIES)
  88. #define DIEC_BACKGROUNDCONTEXT 1
  89. #define DIEC_SELECTIONCONTEXT 2
  90. #endif // _DEFVIEW_H