hPal Property

       

Returns or sets a handle to the palette of a picture in a Picture object.

Syntax

object.hPal [= value]

The hPal property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value The handle to the palette for the picture (HPAL).

Remarks

The hPal property is useful when you need to pass a handle to a palette as part of a call to a function in a dynamic-link library (DLL) or the Windows API.