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.

34 lines
668 B

  1. /*++
  2. Copyright (c) 1999-2002 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. extern BOOL g_ShowToolbar;
  15. HWND GetHwnd_Toolbar();
  16. PTSTR GetToolTipTextFor_Toolbar(UINT uToolbarId);
  17. BOOL CreateToolbar(HWND hwndParent);
  18. //Update toolbar
  19. void Show_Toolbar(BOOL bShow);
  20. void EnableToolbarControls();
  21. void ToolbarIdEnabled(UINT, BOOL);