Registers external scrollbars with FlowChartX.
VB6 Copy Code |
---|
Public Sub RegExtrScrollers( _ |
C++ Copy Code |
---|
public: |
A window handle of the horizontal scrollbar.
A window handle of the vertical scrollbar.
When using FlowChartX as windowless control it doesn't create its own scrollbars neither has its own window. In such case you can put two windows scrollbar controls beside the flowchart and register them with the FlowChartX using this method. The hwHorz and hwVert are window handles to the scrollbars. Except scrollbars' registration you should also resend WM_HSCROLL and WM_VSCROLL messages to IOleInPlaceObjectWindowless::OnWindowMessage method. With that done the external scrollbars function as the built-in of the windowed version. When the document is scrolled or zoomed the scroll thumb position and size will be set accordingly.
Note |
---|
This method does not apply to the .NET framework because current version of .NET does not support windowless activation of ActiveX controls. |
FlowChartX Programmer's Guide | © 2023 MindFusion |