LTOOLBARINFO

typedef struct _LTOOLBARINFO
{
   L_UINT uStructSize;
   L_INT cxBitmapWidth;
   L_INT cyBitmapHeight;
   L_UINT uToolsCount;
   pLTOOLBARTOOL pTools;
   L_UINT32 dwTag;

} LTOOLBARINFO, L_FAR *pLTOOLBARINFO;

Contains the information that will be used to create the toolbar.

Member

Description

uStructSize

Size of this structure.

cxBitmapWidth

The width of the bitmaps that will be used in the buttons of this toolbar.

cyBitmapHeight

The Height of the bitmaps that will be used in the buttons of this toolbar.

uToolsCount

The number of the tool buttons in the toolbar.

pTools

An array of LTOOLBARTOOL structures that will be used to create this toolbar.

dwTag

User defined data associated with the toolbar information.

Comments

A toolbar is made up of one or more tools. This structure contains information about the toolbar in general. Information about each tool that makes up the toolbar is contained in an LTOOLBARTOOL structure. Each tool in a toolbar may have one or more buttons associated with it. A tool with more than one button associated with it is said to be a sub-toolbar. Information about the button(s) associated with a tool in the toolbar is contained in one or more LBUTTONINFO structures.

The uToolsCount member represents the number of primary buttons in the toolbar.