Search
FlowChart.RegExtrScrollers Method
See Also
 



Registers external scrollbars with FlowChartX.

 Syntax

VB6  Copy Code

Public Sub RegExtrScrollers( _
    ByVal hwHorz As Long, _
    ByVal hwVert As Long _
)

C++  Copy Code

public:
void RegExtrScrollers (
    unsigned int hwHorz,
    unsigned int hwVert
)

 Parameters

hwHorz

A window handle of the horizontal scrollbar.

hwVert

A window handle of the vertical scrollbar.

 Remarks

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.

 See Also