2.3.1.17 TBCBSpecific
Contains information specific to button and ExpandingGrid type toolbar controls.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bFlags |
icon (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
iconMask (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
iBtnFace (optional) |
wstrAcc (variable) |
||||||||||||||||||||||||||||||
... |
bFlags (1 byte): Structure of type TBCBSFlags section 2.3.1.18) that specifies which fields of this structure are saved to the file.
icon (variable): Optional. Structure of type TBCBitmap (section 2.3.1.1) that specifies the icon data for this toolbar control. MUST exist if bFlags.fCustomBitmap equals 1. MUST NOT exist if bFlags.fCustomBitmap equals 0.
iconMask (variable): Optional. Structure of type TBCBitmap (section 2.3.1.1) that specifies the icon data mask for this toolbar control. MUST exist if bFlags.fCustomBitmap equals 1. MUST NOT exist if bFlags.fCustomBitmap equals 0. The value of the biBitCount field of the BITMAPINFOHEADER (section 2.3.1.2) contained by this TBCBitmap MUST be 0x01. The iconMask is used to specify the transparency of the icon. The iconMask is white in all the areas in which the icon is displayed as transparent and is black in all other areas.
iBtnFace (2 bytes): Optional. Unsigned integer that specifies the icon of the toolbar control. When this value is set, the toolbar control will use the icon of the toolbar control whose toolbar control identifier (TCID) equals this value. MUST exist if bFlags.fCustomBtnFace equals 1. MUST NOT exist if bFlags.fCustomBtnFace equals 0.
wstrAcc (variable): Optional. Structure of type WString (section 2.3.1.4) that specifies the accelerator keys for this toolbar control. MUST exist if bFlags.fAccelerator equals 1. MUST NOT exist if bFlags.fAccelerator equals 0.