ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Palette Functions > IG_GUI_palette_update |
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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_GUI_palette_update ( HIGEAR hIGear, DWORD dwGrpID, HWND hWndPalette ); |
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle of image. |
dwGrpID | DWORD | Identifier of group where to get display options for creating palette. |
hWndPalette | HWND | Handle of palette window. |
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear Professional.
(Has an effect for Indexed images only.)
Palette Edit, Display
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ HWND hWndPalette; /* Handle of Palette window */ IG_GUI_palette_update ( hIGear, hWndPalette ); |