Styles of coolbar control
[CoolBar control]

Defines


Define Documentation

#define CBS_BMP_16X16   0x0000

The size of the item bitmap is 16x16.

Definition at line 115 of file coolbar.h.

#define CBS_BMP_32X32   0x0001

The size of the item bitmap is 32x32.

Definition at line 121 of file coolbar.h.

#define CBS_BMP_CUSTOM   0x0002

The item bitmap has customized size.

Note:
For the control with this style, you should pass the width and the height of the item bitmap by the argument dwAddData of CreateWindowEx function.
 int item_width = 20;
 int item_height = 20;

 CreateWindowEx (CTRL_COOLBAR, ..., MAKELONG (item_width, item_height)));

Definition at line 138 of file coolbar.h.

#define CBS_USEBKBMP   0x0004

The control has a background bitmap.

Note:
For a CoolBar control with this style, you should pass the bitmap file name by the argument spCaption of CreateWindowEx function.
 const char* file_bkgnd = "res/my_bkgnd.gif";

 CreateWindowEx (CTRL_COOLBAR, file_bkgnd, ...);

Definition at line 153 of file coolbar.h.

Generated on Thu Apr 7 15:58:35 2011 for MiniGUI V3.0.12 API Reference by  doxygen 1.6.3