ShowMagGlass method (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ShowMagGlass(bool bShowMagGlass);

Delphi Syntax

Function ShowMagGlass(bShowMagGlass: Boolean): L_INT;

Overview

Refer to Using the Magnifying Glass

Remarks

Shows or hides the Magnifying Glass on the screen.

This method is used to control the display of the Magnifying Glass on the screen when the user is manually updating the Magnifying Glass. It is used in conjunction with the SetMagGlassPos method. To manually update the Magnifying Glass, MAGGLASS_MANUAL_UPDATE must be set in the MagGlassFlags property.

This method can be called with bShowMagGlass set to TRUE, when the left mouse button is pressed, to show the Magnifying Glass. It can be called with bShowMagGlass set to FALSE when the left mouse button is released to hide the Magnifying Glass.

Note:

This method can be used only if the MAGGLASS_MANUAL_UPDATE flag was set in the MagGlassFlags property.

See Also

Elements:

MagGlassFlags property, OnMagGlassCursor event, StartMagGlass method, StopMagGlass method, SetMagGlassPos method, UpdateMagGlassFromHandle method

Topics:

Raster Images: Displaying Images