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

LTDIS

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.

Help Version 20.0.2018.2.25
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C API Help