Method | Description | |
---|---|---|
Dispose ( ) : void |
Clears up any resources associated with the SystemImageList
|
|
Dispose ( bool disposing ) : void |
Clears up any resources associated with the SystemImageList when disposing is true.
|
|
DrawImage ( |
Draws an image
|
|
DrawImage ( |
Draws an image using the specified flags
|
|
DrawImage ( |
Draws an image using the specified flags and specifies the size to clip to (or to stretch to if ILD_SCALE is provided).
|
|
DrawImage ( |
Draws an image using the specified flags and state on XP systems.
|
|
Icon ( int index ) : |
Returns a GDI+ copy of the icon from the ImageList at the specified index.
|
|
IconIndex ( string fileName ) : int |
Return the index of the icon for the specified file, always using the cached version where possible.
|
|
IconIndex ( string fileName, bool forceLoadFromDisk ) : int |
Returns the index of the icon for the specified file
|
|
IconIndex ( string fileName, bool forceLoadFromDisk, ShellIconStateConstants iconState ) : int |
Returns the index of the icon for the specified file
|
|
SysImageList ( ) : System |
Creates a Small Icons SystemImageList
|
|
SysImageList ( SysImageListSize size ) : System |
Creates a SystemImageList with the specified size
|
Method | Description | |
---|---|---|
DestroyIcon ( |
||
FormatMessage ( int dwFlags, |
||
GetLastError ( ) : int | ||
ImageList_Draw ( |
||
ImageList_DrawIndirect ( IMAGELISTDRAWPARAMS &pimldp ) : int | ||
ImageList_GetIcon ( |
||
ImageList_GetIconSize ( |
||
SHGetFileInfo ( string pszPath, int dwFileAttributes, SHFILEINFO &psfi, uint cbFileInfo, uint uFlags ) : |
||
SHGetImageList ( int iImageList, System.Guid &riid, IImageList &ppv ) : int | ||
SHGetImageListHandle ( int iImageList, System.Guid &riid, |
||
create ( ) : void |
Creates the SystemImageList
|
|
isXpOrAbove ( ) : bool |
Determines if the system is running Windows XP or above
|
public Dispose ( bool disposing ) : void | ||
disposing | bool | Whether the object is being disposed |
return | void |
public DrawImage ( |
||
hdc | Device context to draw to | |
index | int | Index of image to draw |
x | int | X Position to draw at |
y | int | Y Position to draw at |
return | void |
public DrawImage ( |
||
hdc | Device context to draw to | |
index | int | Index of image to draw |
x | int | X Position to draw at |
y | int | Y Position to draw at |
flags | ImageListDrawItemConstants | Drawing flags |
return | void |
public DrawImage ( |
||
hdc | Device context to draw to | |
index | int | Index of image to draw |
x | int | X Position to draw at |
y | int | Y Position to draw at |
flags | ImageListDrawItemConstants | Drawing flags |
cx | int | Width to draw |
cy | int | Height to draw |
return | void |
public DrawImage ( |
||
hdc | Device context to draw to | |
index | int | Index of image to draw |
x | int | X Position to draw at |
y | int | Y Position to draw at |
flags | ImageListDrawItemConstants | Drawing flags |
cx | int | Width to draw |
cy | int | Height to draw |
foreColor | System | Fore colour to blend with when using the /// ILD_SELECTED or ILD_BLEND25 flags |
stateFlags | ImageListDrawStateConstants | State flags |
saturateColorOrAlpha | System | If stateFlags includes ILS_ALPHA, /// then the alpha component is applied to the icon. Otherwise if /// ILS_SATURATE is included, then the (R,G,B) components are used /// to saturate the image. |
glowOrShadowColor | System | If stateFlags include ILS_GLOW, then /// the colour to use for the glow effect. Otherwise if stateFlags includes /// ILS_SHADOW, then the colour to use for the shadow. |
return | void |
public Icon ( int index ) : |
||
index | int | The index to get the icon for |
return |
public IconIndex ( string fileName ) : int | ||
fileName | string | Filename to get icon for |
return | int |
public IconIndex ( string fileName, bool forceLoadFromDisk ) : int | ||
fileName | string | Filename to get icon for |
forceLoadFromDisk | bool | If True, then hit the disk to get the icon, /// otherwise only hit the disk if no cached icon is available. |
return | int |
public IconIndex ( string fileName, bool forceLoadFromDisk, ShellIconStateConstants iconState ) : int | ||
fileName | string | Filename to get icon for |
forceLoadFromDisk | bool | If True, then hit the disk to get the icon, /// otherwise only hit the disk if no cached icon is available. |
iconState | ShellIconStateConstants | Flags specifying the state of the icon /// returned. |
return | int |
public SysImageList ( SysImageListSize size ) : System | ||
size | SysImageListSize | Size of System ImageList |
return | System |