LBitmapWindow::EnableAutoScroll

Summary

Enables or disables automatic scrolling of the displayed bitmap.

Syntax

#include "ltwrappr.h"

L_BOOL LBitmapWindow::EnableAutoScroll(bAutoScroll)

Parameters

L_BOOL bAutoScroll

Flag that indicates whether to enable auto scrolling of the bitmap displayed by the bitmap window. Possible values are:

Value Meaning
TRUE Enable auto scrolling.
FALSE Disable auto scrolling.

Returns

The previous state.

Comments

When auto scrolling is enabled, the class object's window will display scrollbars when necessary, and automatically handle scrolling the bitmap based on scroll messages generated for those scrollbars.

This setting is enabled by default.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

For an example, refer to LBitmapWindow::Repaint.

Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.