ImageGear for C and C++ on Windows v19.2 - Updated
IG_gui_extrachannel_colorchoice_dlg
API Reference Guide > GUI Component API Reference > GUI Component Functions Reference > Extra Channels Functions > IG_gui_extrachannel_colorchoice_dlg

This function displays a color specification of the specified extra channel.

Declaration:

 
Copy Code
BOOL  ACCUAPI IG_gui_extrachannel_colorchoice_dlg(
        HWND hWnd,
        HIGEAR hIGear,
        AT_UINT nIndex
);

Arguments:

Name Type Description
hWnd HWND Handle of the parent window.
hIGear HIGEAR Handle to the image.
nIndex AT_UINT Index of the extra channel.

Return Value:

Returns TRUE if OK button is clicked; FALSE - otherwise.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++, provided that they contain an extra channel.

Remarks:

This dialog can be used for editing extra channel's color.