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

ltkrn14n.dll (ltkrn_n.lib import library)
ltdis14n.dll (ltdis_n.lib import library)
ltfil14n.dll (ltfil_n.lib import library)
ltimg14n.dll (ltimg_n.lib import library)
ltefx14n.dll (ltefx_n.lib import library)
ltdlg14n.dll (ltdlg_n.lib import library)
ltisi14n.dll (ltisi_n.lib import library)
lttwn14n.dll (lttwn_n.lib import library)
ltscr14n.dll (ltscr_n.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.