ImageGear for C and C++ on Windows v19.6 - Updated
IG_GUI_pixdump_window_create
API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Pixel Dump Functions > IG_GUI_pixdump_window_create

This function creates a GUI Pixel Dump window.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_pixdump_window_create(
        HIGEAR hIGear, 
        DWORD dwGrpID, 
        HWND hWndParent, 
        HWND hWndImage, 
        DWORD dwStyle, 
        const LPSTR lpszTitle, 
        INT nX, 
        INT nY, 
        INT nWidth, 
        INT nHeight, 
        HWND FAR* lphwndPixDump 
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle of an image.
dwGrpID DWORD Identifier of the group that is used for drawing an image in the hWndParent window.
hWndParent HWND Handle of the Parent window.
hWndImage HWND Handle of the Image window.
dwStyle DWORD Window style in bits.
lpszTitle const LPSTR Title of the pixdump Window.
nX INT X position of the upper left corner of the pixdump window.
nY INT Y position of the upper left corner of the pixdump window.
nWidth INT Width of the pixdump window.
nHeight INT Height of the pixdump window.
lphwndPixDump HWND FAR* Far pointer to the HWND object to hold the pixdump window handle.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Sample:

GUI Windows, Display

Remarks:

This window is designed to display the image data in numeric form from the area selected by the mouse. To select an area in the image, hold the left button down and drag. A small rectangle is painted on the image and the GUI window displays data from this area in the image. The data is displayed as decimal or hexadecimal numbers.

This function creates a GUI window using the style WS_OVERLAPPEDWINDOW. For attribute settings, see IG_GUI_pixdump_attribute_set().