Gets or sets what modifications can be applied to a table 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 table 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 table |
1 | upper-right corner manipulation handle | resizes the table |
2 | bottom-right corner manipulation handle | resizes the table |
3 | bottom-left corner manipulation handle | resizes the table |
4 | upper-center manipulation handle | resizes the table vertically |
5 | right-center manipulation handle | resizes the table horizontally |
6 | bottom-center corner manipulation handle | resizes the table vertically |
7 | left-center corner manipulation handle | resizes the table horizontally |
8 | caption area or table center | moves the table |
To make a table resizable only horizontally, use binary 110100000 (hex. 1A0). That disables all manipulation handles, except the left and right-center, which allow horizontal resizing, and the central one allowing movement of the table.