C# Class BExplorer.Shell.ImageList

A wrapper of IImageList.
Inheritance: IDisposable
Afficher le fichier Open project: Gainedge/BetterExplorer

Méthodes publiques

Méthode Description
Dispose ( ) : void
Dispose ( bool disposing ) : void
DrawIcon ( IntPtr hdc, int index, Point location, int newSize = -1, System.Boolean hidden = false ) : void

Draws the icon

DrawOverlay ( IntPtr hdc, int overlayIndex, Point location, int newSize = -1 ) : void

Draws the icon

GetIconIndexWithOverlay ( IntPtr path, int &overlayIndex ) : int

GetIndexOfOverlay ( int overlayIndex ) : int

Retrieves a specified image from the list of images used as overlay masks.

ImageList ( ImageListSize size ) : BExplorer.Shell.Interop

Private Methods

Méthode Description
DrawInternal ( IntPtr hdc, int index, int overlayIndex, ImageListDrawOptions options, ImageListDrawStates state, int alpha, Point location, int newSize ) : void

Draws the icon

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( bool disposing ) : void
disposing bool
Résultat void

DrawIcon() public méthode

Draws the icon
public DrawIcon ( IntPtr hdc, int index, Point location, int newSize = -1, System.Boolean hidden = false ) : void
hdc System.IntPtr A handle to the destination device context.
index int The zero-based index of the image to be drawn.
location Point The x and y coordinates that specifies where the image is drawn.
newSize int The new size of the image (Double Check)
hidden System.Boolean
Résultat void

DrawOverlay() public méthode

Draws the icon
public DrawOverlay ( IntPtr hdc, int overlayIndex, Point location, int newSize = -1 ) : void
hdc System.IntPtr A handle to the destination device context.
overlayIndex int The index of the overlay
location Point The x and y coordinates that specifies where the image is drawn.
newSize int The new size of the image (Double Check)
Résultat void

GetIconIndexWithOverlay() public méthode

public GetIconIndexWithOverlay ( IntPtr path, int &overlayIndex ) : int
path System.IntPtr
overlayIndex int Index of the overlay icon that use for Draw or GetIndexOfOverlay method.
Résultat int

GetIndexOfOverlay() public méthode

Retrieves a specified image from the list of images used as overlay masks.
public GetIndexOfOverlay ( int overlayIndex ) : int
overlayIndex int A value of type int that contains the one-based index of the overlay mask.
Résultat int

ImageList() public méthode

public ImageList ( ImageListSize size ) : BExplorer.Shell.Interop
size ImageListSize
Résultat BExplorer.Shell.Interop