ImageGear Professional DLL v17.1 for Windows Accusoft
IG_GUI_window_CB_register
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > 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:

hWndImage Image window handle.
lpfnDestroy Far pointer to the callback function to be called when the window is destroyed. See LPFNIG_GUIWINDESTROY.
lpPrivate 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().

©2012. Accusoft Corporation. All Rights Reserved.