This function may be called to update (repaint) the palette window, if for example the image's DIB palette has been changed in memory by your application.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_palette_update ( HIGEAR hIGear, DWORD dwGrpID, HWND hWndPalette ); |
Arguments:
hIGear | HIGEAR handle of image. |
dwGrpID | Identifier of group where to get display options for creating palette. |
hWndPalette | Handle of palette window. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
All pixel formats supported by ImageGear Professional.
(Has an effect for Indexed images only.)
Sample:
Palette Edit, Display
Example:
Copy Code | |
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ HWND hWndPalette; /* Handle of Palette window */ IG_GUI_palette_update ( hIGear, hWndPalette ); |