# ATTR_ALLOW_ROOM_FOR_IMAGES

Type: | Control attribute
Description: | Specifies whether, when calculating the list box height, to assume that one or more list box labels may contain an image. Normally, the calculation of the list box height takes into account the image height only if there currently is an image in the list box. If the list box is initially empty, the list box height is calculated without regard to images. Thus, when an image is added to a list box label, the height of the control may increase. To make sure that the list box height always takes into account the height of an image, set this attribute to TRUE. (Note: Images are added to list box labels by using SetListItemImage.) 0 = List box item height takes into account the image height only if one or more item labels currently contain an image 1 = List box item height always takes into account the image height
Control Types: | List boxes.
Data Type: | integer
Default Value: | 0

Values

0 | False
1 | True