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) |
See Also
Example
For an example, refer to LBitmapWindow::GetAutoFloaterToRgn.