L_StopMagGlass

Summary

Stops the Magnify Glass procedure and detaches the magnifying glass from the window.

Syntax

#include "l_bitmap.h"

L_LTDIS_API L_INT L_StopMagGlass(hWnd)

Parameters

L_HWND hWnd

Handle of the window to which to attach the Magnifying Glass.

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to L_StartMagGlass or L_StartMagGlass.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.