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.

54 lines
1.5 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Copyright (C) 1993-1996 Microsoft Corporation. All Rights Reserved.
  3. //
  4. // MODULE: tbinfo.h
  5. //
  6. // PURPOSE: This file contains all of the toolbar arrays used by the
  7. // various coolbars in the program.
  8. //
  9. #pragma once
  10. #ifndef __TBINFO_H__
  11. #define __TBINFO_H__
  12. /////////////////////////////////////////////////////////////////////////////
  13. // BUTTON_INFO definition
  14. //
  15. typedef struct tagBUTTON_INFO
  16. {
  17. DWORD idCmd;
  18. DWORD iImage;
  19. BYTE fStyle;
  20. DWORD idsTooltip;
  21. DWORD idsButton;
  22. BYTE fTextOnSmall;
  23. } BUTTON_INFO;
  24. #define PARTIALTEXT_BUTTON (TBSTYLE_BUTTON | BTNS_SHOWTEXT)
  25. #define PARTIALTEXT_DROPDOWN (TBSTYLE_DROPDOWN | BTNS_SHOWTEXT)
  26. /////////////////////////////////////////////////////////////////////////////
  27. // TOOLBAR_INFO definition
  28. //
  29. typedef struct tagTOOLBAR_INFO
  30. {
  31. const BUTTON_INFO *rgAllButtons;
  32. DWORD cAllButtons;
  33. const DWORD *rgDefButtons;
  34. DWORD cDefButtons;
  35. const DWORD *rgDefButtonsIntl;
  36. DWORD cDefButtonsIntl;
  37. LPCTSTR pszRegKey;
  38. LPCTSTR pszRegValue;
  39. } TOOLBAR_INFO;
  40. extern const TOOLBAR_INFO c_rgBrowserToolbarInfo[FOLDER_TYPESMAX];
  41. extern const TOOLBAR_INFO c_rgNoteToolbarInfo[NOTETYPES_MAX];
  42. extern const TOOLBAR_INFO c_rgRulesToolbarInfo[1];
  43. #endif // __TBINFO_H__