Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

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 119 of file coolbar.h.

#define CBS_BMP_32X32   0x0001
 

The size of the item bitmap is 32x32.

Definition at line 125 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 142 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 157 of file coolbar.h.


Generated on Mon Jun 26 13:54:33 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2