Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_UpdateMagGlassPaintFlags
#include "l_bitmap.h"
L_LTDIS_API L_INT L_UpdateMagGlassPaintFlags(hWnd, uPaintFlags)
L_HWND hWnd; |
/* handle to a window*/ |
L_UINT uPaintFlags; |
/* painting operation flags */ |
Updates the flags that control the speed, quality, and style of the painting operations for the magnifying glass.
Parameter |
Description |
hWnd |
Handle of the window to which the magnifying glass is attached. |
uPaintFlags |
The flag or flags to be changed. You can use a bitwise OR ( | ) to specify more than one flag. For more information about the possible values and how these flags are used, refer to L_SetDisplayMode. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Use this function to modify the display flags for the magnifying glass after it has been created. For more information about the possible values and how these flags are used, refer to L_SetDisplayMode.
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
Windows 2000 / XP/Vista, Windows CE.
See Also
Functions: |
L_StartMagGlass, L_UpdateMagGlassBitmap, L_SetDisplayMode, L_GetDisplayMode |
Topics: |
Example
For an example, refer to L_ShowMagGlass.