Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
#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 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: |
|
Topics: |
Example
For an example, refer to LBitmapWindow::CreatePanWnd.