LBitmapWindow::SetAutoFloaterToRgn

#include "ltwrappr.h"

L_BOOL LBitmapWindow::SetAutoFloaterToRgn(bAutoFloaterToRgn=TRUE)

L_BOOL bAutoFloaterToRgn;

/* flag that indicates whether to automatically create a region */

Enables or disables the automatic creation of a bitmap region when using the TOOL_REGION tool.

Parameter

Description

bAutoFloaterToRgn

Flag that indicates whether to automatically create a region when using the TOOL_REGION. Possible values are:

 

Value

Meaning

 

TRUE

Enable the automatic creation of a region when creating floaters using the TOOL_REGION tool.

 

FALSE

Disable the automatic creation of a region when creating floaters using the TOOL_REGION tool.

Returns

The previous setting.

TRUE

The previous setting was TRUE.

FALSE

The previous setting was FALSE.

Comments

LbitmapWindow::SetToolType(TOOL_REGION) lets the user create a floater with the mouse. To create a bitmap region, in addition to the floater, call LbitmapWindow::SetAutoFloaterToRgn(TRUE). By default, a floater is created, but not a region.

Libraries

win32

ltkrn15u.dll (ltkrn_u.lib import library)
ltdis15u.dll (ltdis_u.lib import library)
ltfil15u.dll (ltfil_u.lib import library)
ltimg15u.dll (ltimg_u.lib import library)
ltefx15u.dll (ltefx_u.lib import library)
ltdlg15u.dll (ltdlg_u.lib import library)
ltisi15u.dll (ltisi_u.lib import library)
lttwn15u.dll (lttwn_u.lib import library)
ltscr15u.dll (ltscr_u.lib import library)

See Also

Functions:

LBitmapWindow::SetAutoFloaterToRgn, LBitmapWindow::GetFloater, LBitmapWindow::HasFloater, LBitmapWindow::CancelRgn, LBitmapWindow::SetAutoRgnToFloater, LBitmapWindow::GetAutoRgnToFloater, Class Members

Topics:

Floaters and Regions in the LBitmapWindow Class

Example

For an example, refer to LBitmapWindow::GetAutoFloaterToRgn.