ImageGear Professional DLL for Windows
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.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_palette_update ( 
        HIGEAR hIGear, 
        DWORD dwGrpID, 
        HWND hWndPalette 
);

Arguments:

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.

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 );

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback