C# Class SystemImageList.SysImageList

Summary description for SysImageList.
Inheritance: IDisposable
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

Méthode 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.

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

Private Methods

Méthode Description
ImageList_DrawIndirect ( IMAGELISTDRAWPARAMS &pimldp ) : int
ImageList_GetIcon ( IntPtr himl, int i, int flags ) : IntPtr
ImageList_GetIconSize ( IntPtr himl, int &cx, int &cy ) : int
SHGetFileInfo ( string pszPath, int dwFileAttributes, BExplorer &psfi, uint cbFileInfo, uint uFlags ) : IntPtr
SHGetImageList ( int iImageList, System.Guid &riid, IImageList &ppv ) : int
SHGetImageListHandle ( int iImageList, System.Guid &riid, IntPtr &handle ) : int
create ( ) : void

Creates the SystemImageList

isXpOrAbove ( ) : bool

Determines if the system is running Windows XP or above

Method Details

Dispose() public méthode

Clears up any resources associated with the SystemImageList
public Dispose ( ) : void
Résultat void

Dispose() public méthode

Clears up any resources associated with the SystemImageList when disposing is true.
public Dispose ( bool disposing ) : void
disposing bool Whether the object is being disposed
Résultat void

IconIndex() public méthode

Return the index of the icon for the specified file, always using the cached version where possible.
public IconIndex ( string fileName ) : int
fileName string Filename to get icon for
Résultat int

IconIndex() public méthode

Returns the index of the icon for the specified file
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.
Résultat int

IconIndex() public méthode

Returns the index of the icon for the specified file
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.
Résultat int

SysImageList() public méthode

Creates a Small Icons SystemImageList
public SysImageList ( ) : System
Résultat System

SysImageList() public méthode

Creates a SystemImageList with the specified size
public SysImageList ( SysImageListSize size ) : System
size SysImageListSize Size of System ImageList
Résultat System