Share via


mgpal Component

The mgpal component supports color palettes.

Functions for Application Developers

The mgpal component includes functions for application developers, which are defined in the Wingdi.h header file. To import these functions, you must link to the mgpal.lib file. The following table shows the functions that are included in the mgpal component.

Function
CreatePalette GetSystemPaletteEntries
GetNearestColor RealizePalette
GetNearestPaletteIndex SelectPalette
GetPaletteEntries SetPaletteEntries

See Also

gwes Components

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.