MagGlassOwnerDraw event (ILEADRasterView)
void MagGlassOwnerDraw (long hWnd, long hMemDC, long lXPos, long lYPos, long lMagGlassTop, long lMagGlassLeft, long lMagGlassBottom, long lMagGlassRight); | |
Overview |
Remarks
Provides additional, user-defined Magnifying Glass painting.
If the EnableMagGlassDraw property is true, then after the StartMagGlass method is called, and the magnifying glass paints itself to the DC, but before the magnifying glass is displayed on the screen, the user can change what is in the DC, through this event. This allows the user to provide custom rendering of the magnifying glass, within the magnifying glass's display area. For example, this feature lets you render magnified annotations, which may be overlaid on the currently displayed image, or just simply override what is currently in the magnifying glass display area.
To stop the generation of the MagGlassOwnerDraw event, set the EnableMagGlassDraw property to VARIANT_FALSE.
See Also