ImageGear for C and C++ on Windows v19.9 - Updated
LPFNIG_GUISELECT
API Reference Guide > Core Component API Reference > Core Component Callback Functions Reference > LPFNIG_GUISELECT

This callback function is called when the user has delineated a rectangle, using the mouse, in a GUI image window.

Declaration:

 
Copy Code
typedef VOID (ACCUAPI LPFNIG_GUISELECT) (
        LPVOID lpPrivate,  
        const LPAT_RECT lprcSelect 
);

Arguments:

Name Type Description
lpPrivate LPVOID Far pointer to private data area.
lprcSelect const LPAT_RECT Far pointer to Selection Rectangle.

Return Value:

None

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

Clipboard, Display

Example:

See the example for function IG_GUI_select_track_mouse().

Remarks:

This type of callback function is registered during a call to IG_GUI_select_track_mouse().

Argument lprcSelect tells the coordinates of two opposite corners of the rectangle.