LEADTOOLS Raster Imaging C DLL Help > Function References > L_StopMagGlass |
#include "l_bitmap.h"
L_LTDIS_API L_INT L_StopMagGlass(hWnd)
L_HWND hWnd; |
/* handle to a window */ |
Stops the Magnify Glass procedure and detaches the magnifying glass from the window.
Parameter |
Description |
hWnd |
Handle of the window to which to attach the Magnifying Glass. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
You should call this function before destroying the window to which you have previously attached the Magnifying Glass.
Note: |
Do not stop the Magnifying Glass procedure in response to scroll messages (WM_VSCROLL and WM_HSCROLL). Instead, call L_UpdateMagGlassRect to update the destination rectangle. |
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64.
See Also
Functions: |
L_StartMagGlass, L_CreateZoomView, L_GetZoomViewProps, L_UpdateZoomView, L_DestroyZoomView, L_GetZoomViewsCount, L_WindowHasZoomView, ZOOMVIEWPROPS |
Topics: |
|
|
|
|
Example
For an example, refer to L_StartMagGlass or L_StartMagGlass.