Cursor.Cursor

Overview | Methods | Fields | This Package | All Packages

Cursor.Cursor

Creates a Cursor object.

Syntax

public Cursor( int handle )

public Cursor( String filename )

public Cursor( Class type, String resource )

public Cursor( IDataStream stream )

public Cursor( IStream stream )

public Cursor( IPicture picture )

Parameters

handle

A Win-32 cursor handle. This handle is not owned by the Cursor object; you are responsible for freeing it.

filename

The name of a file from which to load the cursor.

type

The class used to load the cursor resource.

resource

The resource to load.

stream

A data stream (IDataStream or com.ms.wfc.ole32.IStream) from which to load the cursor.

picture

An OLE com.ms.wfc.ole32.IPicture object on which to base the cursor.