Main Page
    Cookbook/Overview     ImageMeister     the jcprops file     Licensing
    Binary Installation & Configuration [ Win · Mac · Nix · OSX ]     Changes
    Public API
    Source Code Main Page
        Java [ Common · Win · Mac · Nix ]     Native Code [ Common · Win · Mac · Nix ]     Manifest
        Native Code Overviews [ Common · Win · Mac · Nix · Strings ]     Macros [ General · Native Macros ]
        Walkthroughs [ Java only · Java and native ]     Building [ Win · Mac · Nix · OSX ]     Distribution Issues

SIconInfo

Used to work with icons

[ Windows | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class SIconInfo

{

public:
typedef enum tageWhichIcon eWhichIcon;
static ErrCode iNativeGetVolumeIcon( const CStr *driveName, eWhichIcon whichIcon, long width, long height, long xform, long align, long *bitmapP );
static ErrCode iNativeGetFileIcon( const CStr *fileName, eWhichIcon whichIcon, long width, long height, long xform, long align, long *bitmapP );
static ErrCode iNativeGetExtIcon( const CStr *ext, eWhichIcon whichIcon, long width, long height, long xform, long align, long *bitmapP );
protected:
}; // SIconInfo

Back to the top of SIconInfo


DESCRIPTION

Gets the icons for files and volumes, and the icons associated with extensions.

Back to the top of SIconInfo


typedef enum tageWhichIcon eWhichIcon;

Which icon to return, large or small.

	typedef enum tageWhichIcon {
		kGetIconLargeIcon = 1,
		kGetIconSmallIcon = 2
	} eWhichIcon;

Back to the top of SIconInfo


ErrCode iNativeGetVolumeIcon( const CStr *driveName, eWhichIcon whichIcon, long width, long height, long xform, long align, long *bitmapP );

Returns the icon associated with a volume.

in driveName
The drive name.
in whichIcon
One of the eWhichIcon constants.
in width
The width of the icon.
in height
The height of the icon.
in xform
The transform value of the icon.
in align
The alignment value of the icon.
out bitmapP
On exit, contains the icon pixels

	static	ErrCode iNativeGetVolumeIcon( const CStr *driveName, eWhichIcon whichIcon, long width, long height,
										long xform, long align, long *bitmapP );

Back to the top of SIconInfo


ErrCode iNativeGetFileIcon( const CStr *fileName, eWhichIcon whichIcon, long width, long height, long xform, long align, long *bitmapP );

Returns the icon associated with a file.

in fileName
The file name.
in whichIcon
One of the eWhichIcon constants.
in width
The width of the icon.
in height
The height of the icon.
in xform
The transform value of the icon.
in align
The alignment value of the icon.
out bitmapP
On exit, contains the icon pixels

	static	ErrCode iNativeGetFileIcon( const CStr *fileName, eWhichIcon whichIcon, long width, long height,
										long xform, long align, long *bitmapP );

Back to the top of SIconInfo


ErrCode iNativeGetExtIcon( const CStr *ext, eWhichIcon whichIcon, long width, long height, long xform, long align, long *bitmapP );

Returns the icon associated with a file extension.

in ext
The extension.
in whichIcon
One of the eWhichIcon constants.
in width
The width of the icon.
in height
The height of the icon.
in xform
The transform value of the icon.
in align
The alignment value of the icon.
out bitmapP
On exit, contains the icon pixels

	static	ErrCode iNativeGetExtIcon( const CStr *ext, eWhichIcon whichIcon, long width, long height,
									long xform, long align, long *bitmapP );

Back to the top of SIconInfo


All Members

public:
typedef enum tageWhichIcon eWhichIcon;
static ErrCode iNativeGetVolumeIcon( const CStr *driveName, eWhichIcon whichIcon, long width, long height, long xform, long align, long *bitmapP );
static ErrCode iNativeGetFileIcon( const CStr *fileName, eWhichIcon whichIcon, long width, long height, long xform, long align, long *bitmapP );
static ErrCode iNativeGetExtIcon( const CStr *ext, eWhichIcon whichIcon, long width, long height, long xform, long align, long *bitmapP );
protected:

Back to the top of SIconInfo


Ancestors

Class does not inherit from any other class.

Back to the top of SIconInfo


Descendants

Class is not inherited by any others.

Back to the top of SIconInfo


Generated from source by the Cocoon utilities on Fri Aug 23 12:34:08 2002 .

Report problems to jkotula@stratasys.com


Main Page · JConfig · ImageMeister · System Properties Repository · WordMeister · Free Samples · Java Freeware · Contact Us · FAQ · Links


Copyright (c) 1997-2002 Samizdat Productions. All Rights Reserved.
WarpMovie, TileMovie, JConfig, ImageMeister and MovieShredder are Trademarks of Samizdat Productions.