Creates a new palette object that matches an existing palette.
function CopyPalette(Palette: HPALETTE): HPALETTE;
HPALETTE CopyPalette(HPALETTE Palette);
Graphics
Call CopyPalette to create a new Windows palette object that exactly matches an existing palette. If the Palette parameter does not refer to a valid Windows palette, or if a problem occurs while copying the palette, CopyPalette returns 0.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|