Home You are here: Home > Support > Reference v1.0

Change language: German

CXmImageList Class Reference

List of all members.

Detailed Description

An image list contain a set of icons having the same size.

An image list will be created by adding image resource of different formats like toolbars or bitmaps. Every icon will be assigned to an unique id.

Especially image list are designated to hold the icons representing objects and commands. Therefore two global image list are available:


Public Member Functions

bool AddToolbar (HINSTANCE hInst, CXm_SringOrID id, DWORD clrMask=RGB(192, 192, 192))
 Add a toolbar with the specified resource id to the image list.
int AddBitmapRes (HINSTANCE hInst, CXm_SringOrID id, int width, const CXmImageMap &map, DWORD clrMask=RGB(192, 192, 192))
 Add a bitmap resource with the specified id to the image list.


Member Function Documentation

bool AddToolbar HINSTANCE  hInst,
CXm_SringOrID  id,
DWORD  clrMask = RGB(192, 192, 192)
 

Add a toolbar with the specified resource id to the image list.

Parameters:
hInst module handle containing the resource.
id resource id of the toolbar.
clrMask transparent color mask.

int AddBitmapRes HINSTANCE  hInst,
CXm_SringOrID  id,
int  width,
const CXmImageMap map,
DWORD  clrMask = RGB(192, 192, 192)
 

Add a bitmap resource with the specified id to the image list.

Parameters:
hInst module handle containing the resource.
id resource id of the bitmap.
width icon width.
map index map of the icons.
clrMask transparent color mask.

Copyright © 2006 Praetz Software Development - www.exomware.com