Called to notify the main window of changes to the associated Pan Window.
virtual L_VOID LBitmapWindow::PanWndCallBack(uFlag, prcPan)
Flag indicating the reason for the Pan Window notification. Possible values are:
|PANWIN_CREATED|| Pan Window was created.|
|PANWIN_UPDATED|| Pan Window was updated/repainted.|
|PANWIN_DESTROYED|| Pan Window was destroyed.|
|PANWIN_MOVED|| Pan Window was moved.|
|PANWIN_REPAINT|| Pan Window was repainted.|
Pointer to a RECT that contains the current coordinates of the Pan Rect in 1:1 zoom factor, when uFlag = PANWIN_UPDATED. You must convert these coordinates to match your main window's current zoom factor.
This function will be called when the Pan Window updates itself when responding to end-user input, or when the Pan Window repaints itself after being invalidated.
You can use this callback as a notification that the Pan Window has been updated by the end-user. You can also use this function to do your own custom painting in the Pan Window.
For an example, refer to LBitmapWindow::CreatePanWnd.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries