|  | 
Constructor.Creates an empty cXByte object.
 
Parameters: 
| ptr_cxbyte | A pointer to a cSItem struct |  | w | Item width in pixels (including left and right sections) |  | title | Title string |  | num | An integer value that will be converted into a string for the initial string in the item's right section |  | sln | Maximum character length of the right string on the item's right side (not including finishing '\0' ) |  | swd | Maximum width, in pixels, of the visible part of the string on the item's right side (not including 2 pixels for the surrounding frame) |  | min_val | The lowest acceptable integer |  | max_val | The highest acceptable integer |  | ll | The bitmap list for the section on the item's left side - an array of pointers to bitmaps, with last pointer equaling 0 |  | lsel | A reference to a variable that can be used to access the current left-side index | 
 
Returns: 
 A pointer to the initialized cXByte object    #include <cywin.h>
     ...
   {
     struct BitmapSequence sq;
     struct Bitmap* bmps[4];
     char   picture_index = 2;
     struct cXByte* ptr_menu_item;
     char   value;
     ...
     init_module(&main_module);
     
     BitmapSequence_ctor_Ex( &sq, "food_pictures.pic" );
     bmps[0] = BitmapSequence_get_bitmap(&sq, 0);
     bmps[1] = BitmapSequence_get_bitmap(&sq, 1);
     bmps[2] = BitmapSequence_get_bitmap(&sq, 2);
     bmps[3] = BitmapSequence_get_bitmap(&sq, 3);
     bmps[4] = NULL;
     cWinApp_clear_screen();
     ptr_menu_item = (struct cXByte* )malloc ( sizeof ( struct cXByte ) );
     strcpy( buffer, "Initial value" );
     ...
     value = 20;
     
     cXByte_ctor( ptr_menu_item,
                  160,
                  "Percent is",
                  &value,
                  3,
                  80,
                  0,
                  100,
                  bmps,
                  &picture_index );
     cWinApp_AddObj( main_module.m_process, ptr_menu_item, 0, 40 );
     ...
     cXByte_dtor( ptr_menu_item, FREE_MEMORY );
   }
 |