Gets or sets what modifications can be applied to a box through its selection handles.
VB6 Copy Code |
---|
Public Property Get MnpHandlesMask() As Long |
C++ Copy Code |
---|
public: |
A long value. The default is 0xFFFFFFFF.
A bit-mask allowing the possible users' modifications to a box to be restricted. Each manipulation handle can be enabled or disabled by setting or clearing the bits in the mask. The correspondence of bits to manipulation handles is shown below, the zero bit being the right most in the binary form of a number.
Bit | Handle location | Function |
---|---|---|
0 | upper-left corner manipulation handle | resizes the box |
1 | upper-right corner manipulation handle | resizes the box |
2 | bottom-right corner manipulation handle | resizes the box |
3 | bottom-left corner manipulation handle | resizes the box |
4 | upper-center manipulation handle | resizes the box vertically |
5 | right-center manipulation handle | resizes the box horizontally |
6 | bottom-center corner manipulation handle | resizes the box vertically |
7 | left-center corner manipulation handle | resizes the box horizontally |
8 | central manipulation handle | moves the box |
9 | a round handle above the box | rotates the box |
To make a box resizable only horizontally, use binary 110100000 (hex. 1A0). That disables all manipulation handles, except the middle left and middle right, which allow horizontal resizing, and the central one allowing movement of the box.