ShowMagGlass method (Main Control)

Visual Basic Example
Visual C++ 4.0 Example

Syntax short ShowMagGlass (BOOL bShowMagGlass);

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 in the screen. Since the user is responsible for displaying the magnifying glass and moving it on the screen in a manual update, this method is used in conjunction with SetMagGlassPos method.

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, MagGlassCursor event, StartMagGlass method, StopMagGlass method, SetMagGlassPos method, UpdateMagGlassFromHandle method

Topics:  Raster Images: Displaying Images