SetSelectionBitmap method (ImageList Control)

C++ Builder example

Delphi example

 

Builder Syntax

int SetSelectionBitmap (Graphics::TColor crTransparent, TBitmapHandle Bitmap);

Delphi Syntax

Function SetSelectionBitmap (crTransparent: TColor; Bitmap: TBitmapHandle):Integer;

Overview

Refer to Using the Image List Control.

Remarks

Displays selected items using the specified user-defined bitmap when the SelectionStyle property is set to SELECTIONSTYLE_USERBITMAP. The specified bitmap will be drawn with the specified color as transparent, and will be centered around each selected item.

See Also

Elements:

ItemWidth property, ItemHeight property, SelectionStyle property

Topics:

Raster Images: Displaying Images