ImageGear for C and C++ on Windows v20.0 - Updated
AT_IGGUI_IP_COLOR_PROMOTE
API Reference Guide > GUI Component API Reference > GUI Component Structures Reference > AT_IGGUI_IP_COLOR_PROMOTE

This structure is used by the IG_gui_ip_color_promote_dlg function to increase the number of bits per pixel for the original image.

Declaration:

 
Copy Code
typedef struct tag AT_IGGUI_IP_COLOR_PROMOTE
{
        DWORD cbSize;
        UINT uFlags;
        HIGEAR hIGear;
        HWND hWnd;
        LPCHAR lpszTitle;
        AT_MODE nPromoteTo;
        AT_ERRCOUNT nErrCount;
        LPFNIGGUI_IP_UPDATE lpfnUpdateProc;
}AT_IGGUI_IP_COLOR_PROMOTE;

Members:

Name Type Description
cbSize DWORD Specifies the length, in bytes, of the structure.
uFlags UINT A set of bit flags you can use to initialize the dialog box.
hIGear HIGEAR A handle of an image.
hWnd HWND A handle of the window to update.
lpszTitle LPCHAR A dialog title.
nPromoteTo AT_MODE

One of the following constants:

  • IG_PROMOTE_TO_4
  • IG_PROMOTE_TO_8
  • IG_PROMOTE_TO_24
  • IG_PROMOTE_TO_32
nErrCount AT_ERRCOUNT The number of ImageGear errors that occurred during this function call.
lpfnUpdateProc LPFNIGGUI_IP_UPDATE A pointer to the function that is called when the Apply' button is Clicked.

Is this page helpful?
Yes No
Thanks for your feedback.