virtual L_VOID LAnnotationWindow::PanWndCallBack(uFlag, prcPan)
Called to notify the main window of changes to the associated Pan Window.
Flag indicating the reason for the Pan Window notification. Possible values are:
Value | Meaning |
---|---|
PANWIN_CREATED | [0] Pan Window was created. |
PANWIN_UPDATED | [1] Pan Window was updated/repainted. |
PANWIN_DESTROYED | [2] Pan Window was destroyed. |
PANWIN_MOVED | [3] Pan Window was moved. |
PANWIN_REPAINTED | [4] Pam 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.
None.
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.
LAnnotationWindow overrides this function to be notified of Pan Window notifications. This allows the class object to render the annotations to the PanWindow. If you override this function then you must call the parent-class implementation of this function after doing your own processing to allow the annotation window to do its default processing.
Win32, x64.
For an example, refer to LAnnotationWindow::OnZoom.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document