ImageGear Professional DLL v18.1 for Windows
IG_GUI_window_CB_register
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > GUI Functions > GUI Window Functions > IG_GUI_window_CB_register

Glossary Item Box

This function registers a callback function to be called when a GUI image window is destroyed.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_GUI_window_CB_register ( 
        HWND hWndImage, 
        LPFNIG_GUIWINDESTROY lpfnDestroy, 
        LPVOID lpPrivate 
);

Arguments:

Name Type Description
hWndImage HWND Image window handle.
lpfnDestroy LPFNIG_GUIWINDESTROY Far pointer to the callback function to be called when the window is destroyed.
lpPrivate LPVOID Far pointer to the private data (passed to the callback function).

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

GUI Windows

Example:

See the example for function IG_GUI_window_create().

Remarks:

These are windows created by IG_GUI_window_create() or by currently GUI-associated calls to IG_GUI_window_associate().

©2014. Accusoft Corporation. All Rights Reserved.