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.

32 lines
606 B

  1. /*++
  2. Copyright (c) 1999-2001 Microsoft Corporation
  3. Module Name:
  4. Toolbar.h
  5. Abstract:
  6. This module contains the support code for toolbar
  7. --*/
  8. #define TEXT_TB_BTN(Id, Text, Flags) \
  9. { I_IMAGENONE, Id, TBSTATE_ENABLED, \
  10. BTNS_AUTOSIZE | BTNS_SHOWTEXT | (Flags), \
  11. {0}, 0, (INT_PTR)(Text) }
  12. #define SEP_TB_BTN() \
  13. { 8, 8, 0, BTNS_SEP, {0}, 0, 0 }
  14. HWND GetHwnd_Toolbar();
  15. PTSTR GetToolTipTextFor_Toolbar(UINT uToolbarId);
  16. BOOL CreateToolbar(HWND hwndParent);
  17. //Update toolbar
  18. void Show_Toolbar(BOOL bShow);
  19. void EnableToolbarControls();
  20. void ToolbarIdEnabled(UINT, BOOL);