www.pudn.com > ToolBar_ATL.rar > typedef.h


#ifndef _typedef_h_ 
#define _typedef_h_ 
#define TOOLBAR_START_X 2 
 
typedef struct tagTBItem 
{ 
	LPSTR Key; 
	LPSTR ToolTips; 
	LPPICTUREDISP Icon; 
	int KeySize; 
	int ToolTipsSize; 
	int IconSize; 
	BOOL Enabled; 
	BTNSTYLE Style; 
	BtnState State; 
	long cx;			//Button x coordination. 
	long cy;			//Button y coordination. 
	short width;		//Button width. 
	short height;		//Button height. 
}TBItem; 
 
extern BSTR ConvertLPSTRToBSTR(LPSTR lpstrIn); 
extern char* ConvertBSTRToLPSTR(BSTR bstrIn); 
 
#endif