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
34 lines
668 B
/*++
|
|
|
|
Copyright (c) 1999-2002 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
Toolbar.h
|
|
|
|
Abstract:
|
|
|
|
This module contains the support code for toolbar
|
|
|
|
--*/
|
|
|
|
#define TEXT_TB_BTN(Id, Text, Flags) \
|
|
{ I_IMAGENONE, Id, TBSTATE_ENABLED, \
|
|
BTNS_AUTOSIZE | BTNS_SHOWTEXT | (Flags), \
|
|
{0}, 0, (INT_PTR)(Text) }
|
|
|
|
#define SEP_TB_BTN() \
|
|
{ 8, 8, 0, BTNS_SEP, {0}, 0, 0 }
|
|
|
|
extern BOOL g_ShowToolbar;
|
|
|
|
HWND GetHwnd_Toolbar();
|
|
PTSTR GetToolTipTextFor_Toolbar(UINT uToolbarId);
|
|
BOOL CreateToolbar(HWND hwndParent);
|
|
|
|
//Update toolbar
|
|
void Show_Toolbar(BOOL bShow);
|
|
|
|
void EnableToolbarControls();
|
|
|
|
void ToolbarIdEnabled(UINT, BOOL);
|