LBitmapWindow::GetToolType

#include "ltwrappr.h"

L_UINT LBitmapWindow::GetToolType()

Gets the current tool type for the class object's window.

Returns

The current tool type. Possible values are:

Value

Meaning

TOOL_USERMODE

user tool type (default).

TOOL_PANIMAGE

pan image tool.

TOOL_ZOOMRECT

zoom rect tool.

TOOL_ZOOM_ON_MOUSECLICK

zoom in/out on mouse click.

TOOL_REGION

region tool type, the region shape is specified by LBitmapWindow::SetRegionType function.

Required DLLs and Libraries

LTDIS
LTDLG
LTEFX
LTFIL
LTIMG
LTSCR
LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Example

For an example, refer to LBitmapWindow::GetBitmapVisibleRect.