LBitmapWindow::GetFloaterRgn

Summary

Returns the region corresponding to a floater.

Syntax

#include "ltwrappr.h"

HRGN LBitmapWindow::GetFloaterRgn(uFloatRgnType, pRgnXForm)

Parameters

L_UINT uFloatRgnType

Flag that indicates the type of region returned. Possible values are:

Value Meaning
FLOAT_RGN_TRANS_NONE [0] Returns a windows region in bitmap coordinates.
FLOAT_RGN_TRANS_FROM_WINDOW [1] Returns a windows region relative to the client area of the window. This accounts for scroll and zoom.
FLOAT_RGN_TRANS_USE_XFORM [2] Returns a windows region that is translated using pRgnXForm structure.

RGNXFORM * pRgnXForm

Pointer to a RGNXFORM structure This parameter is valid only if uFloatRgnType is FLOAT_RGN_TRANS_USE_XFORM.

Returns

Value Meaning
NULL No floater exists.
!NULL Handle to the region that corresponds to the floater.

Comments

HRGN should be freed when you are finished with the region.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Example

For an example, refer to LBitmapWindow::SetAutoRgnToFloater.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.