L_LTDIS_API L_INT L_UpdatePanWindow(hPanWindow, pBitmap, ulDisplayFlags, crPen, pszTitle, prcDst)
Updates the Pan Window with the specified settings.
Handle to the Pan Window.
Pointer to the bitmap handle referencing the bitmap to be displayed in the PanWindow.
Flags which determine how the image is painted in the Pan Window. For values, refer to Flags for the L_SetDisplayMode Function.
COLORREF value that specifies the color of the pen to use for drawing the Pan Rect.
Character string containing the title bar string for the Pan Window. Pass NULL for no title bar string.
Pointer to a rect containing the main window's paint destination rect. This is used to determine the location of the Pan Rect in the Pan Window and the current zoom factor.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Call this function immediately after creating the Pan Window to make it visible, and to set the location of the Pan Rect. Then, anytime the main window's paint destination rect changes, or any time the main window scrolls, call this function to update the Pan Window.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_CreatePanWindow.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries