Optimizing Container Memory Usage

The container control provides an option to enable you to develop applications that minimize the amount of memory used for each container record. This is done by specifying the CCS_MINIRECORDCORE style bit when the container is created, which causes a smaller version of the RECORDCORE data structure, MINIRECORDCORE, to be used. The following table shows the differences between these two data structures:

┌──────────────────────────────┬──────────────────────────────┐
│RECORDCORE                    │MINIRECORDCORE                │
├──────────────────────────────┼──────────────────────────────┤
│Up to eight image handles can │Only one image handle can be  │
│be specified for each record. │specified for each record.    │
│                              │Note:                         │
│                              │This image must be an icon.   │
├──────────────────────────────┼──────────────────────────────┤
│Up to four text strings can be│Only one text string can be   │
│specified for each record.    │specified for each record.    │
└──────────────────────────────┴──────────────────────────────┘


[Back: Filtering Container Items]
[Next: Allocating Memory for when Using MINIRECORDCORE]