LBitmapWindow::UpdatePanWnd

#include "ltwrappr.h"

L_INT LBitmapWindow::UpdatePanWnd(ulDisplayFlags, crPen, pszTitle)

L_UINT32 ulDisplayFlags;

flags that determine how the image is painted in the Pan Window

COLORREF crPen;

pen color for drawing the Pan Rect

const L_TCHAR * pszTitle;

title bar string

Updates the Pan Window with the specified settings.

Parameter

Description

ulDisplayFlags

Flags that determine how the image is painted in the Pan Window. For values, refer to Flags for the LBitmapSettings::SetDisplayMode Function.

crPen

COLORREF value that specifies the color of the pen to use for drawing the Pan Rect.

pszTitle

Character string containing the title bar string for the Pan Window. Pass NULL for no title bar string.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

You can call this function if you want to change the settings of the class object's associated Pan Window.

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

Topics:

Using Color Values in LEADTOOLS

Example

For an example, refer to LBitmapWindow::CreatePanWnd.

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

LEADTOOLS Raster Imaging C++ Class Library Help