ATTR_SUBIMAGE_TOP

Type: Control attribute
Description: The vertical offset in pixels of the displayed subimage relative to the top-left corner of the entire bitmap image. ATTR_SUBIMAGE_LEFT designates the horizontal offset from the top-left corner. ATTR_SUBIMAGE_WIDTH and ATTR_SUBIMAGE_HEIGHT specify the size of the subimage.

ATTR_USE_SUBIMAGE must be enabled for this feature to be active.

Control Types: Picture buttons.
Data Type: integer
Valid Range: 0 or greater
Default Value: 0