EnableMagGlassEvent property (ILEADRasterView)
BOOL EnableMagGlassEvent | |
Overview |
Refer to Using the Magnifying Glass. |
Remarks
(Persistent property, available at design time) Enables the use of the MagGlassExt event. Possible values are:
Value |
Meaning |
TRUE |
[0x0001] Generate MagGlassExt events. |
FALSE |
[0x0002] Do not generate MagGlassExt events. |
After calling the StartMagGlass method, LEADTOOLS will monitor the window's messages, looking for mouse messages, and processing them by displaying a "Magnifying Glass". If the MagGlassExt event has been enabled by setting the EnableMagGlassEvent property to TRUE, information about the non-updated parts of the bitmap used for the Magnifying Glass's zoomed area can be obtained from the MagGlassExt event. This event receives information when the left mouse button is pressed or released and when the mouse is moved while the left mouse button is pressed. This information can be used to get updated color information and pass that information to the UpdateMagGlass method.
If the MagGlassExt event has been enabled by setting the EnableMagGlassEvent property to TRUE, the UpdateMagGlass method must be called in order to paint the zoomed image in the Magnifying Glass display area.
To stop the generation of MagGlassExt events, set this property to FALSE.
See Also
Elements |
MagGlassExt event, StartMagGlass method, StopMagGlass method, UpdateMagGlass method |
Topics |
|
|