Microsoft SDK for Java

Palette.Palette

Creates a Palette object.

Syntax

public Palette( int handle )

Parameters

handle

The handle (HPALETTE) on which to base the palette.

Remarks

When you create a palette based on a previously allocated Windows handle, the Palette object does not take ownership of that handle; you are responsible for freeing the handle when you are finished.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.