zImageList Class Reference

DERIVED CLASS FOR IMAGE LISTS. More...

#include <Zclassut.h>

List of all members.

Public Member Functions

void AddIcon (LPCTSTR resource)
void AddIcon (xpath file)
int Count (void)
void Draw (HDC hdc, int i, int x=0, int y=0, int style=ILD_BLEND25)
void Load (void)
HICON IconHandle (int i, int style=ILD_NORMAL)
HBITMAP ImageHandle (int i)
void Unload (void)
virtual void Define (void)

Detailed Description

DERIVED CLASS FOR IMAGE LISTS.

% An image list is a collection of images of the same size, each of which can be referred to by its index. Image lists are used to efficiently manage large sets of icons or bitmaps. All images in an image list are contained in a single, wide bitmap in screen device format. An image list can also include a monochrome bitmap that contains masks used to draw images transparently (icon style).


Member Function Documentation

void zImageList::AddIcon ( xpath  file  ) 

Adds an image from an icon file.

void zImageList::AddIcon ( LPCTSTR  resource  ) 

Adds an image from a module resource.

int zImageList::Count ( void   )  [inline]
Returns:
the number of images.
virtual void zImageList::Define ( void   )  [inline, virtual]

Loads the default properties. A property is an attribute of a control, field, or database object that you set to define one of the object's characteristics or an aspect of its behavior. For example, the Visible property affects whether a control can be seen at run time. You can change an object's property settings at design-time.

void zImageList::Draw ( HDC  hdc,
int  i,
int  x = 0,
int  y = 0,
int  style = ILD_BLEND25 
) [inline]

Draws an image list item in the specified device context.

HICON zImageList::IconHandle ( int  i,
int  style = ILD_NORMAL 
) [inline]

Creates an icon from an image and mask. It is the responsibility of the calling application to destroy the icon returned from this function using theDestroyIcon function.

HBITMAP zImageList::ImageHandle ( int  i  )  [inline]

Retrieves the icon's image bitmap handle.

void zImageList::Load ( void   )  [inline]

Creates the image list control.

void zImageList::Unload ( void   )  [inline]

Destroys the image list control.


The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:17 2009 for Rad.on++ by  doxygen 1.6.1