GEOS SDK TechDocs
|
|
5.1 VisText Features
|
5.3 VisText VM File Storage
VTI_state, VisTextStates, MSG_VIS_TEXT_GET_STATE, MSG_VIS_TEXT_GET_USER_MODIFIED_STATE, MSG_VIS_TEXT_SET_NOT_USER_MODIFIED, MSG_VIS_TEXT_SET_USER_MODIFIED, MSG_VIS_TEXT_ENTER_OVERSTRIKE_MODE, MSG_VIS_TEXT_ENTER_INSERT_MODE
VTI_state stores a bitfield of
VisTextStates
that determine the ability of the user to interact with the text object. These flags are listed below.
applyMsg
. You can send the text object MSG_VIS_TEXT_SET_NOT_USER_MODIFIED or MSG_VIS_TEXT_SET_USER_MODIFIED to clear or set this flag.VisTextStates MSG_VIS_TEXT_GET_STATE();
This message retrieves the text object's
VisTextStates
(VTI_state).
Source: Unrestricted.
Destination: Any text object.
Parameters: None.
Return:
VisTextStates
in use by the text object.
Interception: Generally not intercepted.
Boolean MSG_VIS_TEXT_GET_USER_MODIFIED_STATE();
This message returns the state of the text object's VTS_MODIFIED flag in its VTI_state entry.
Source: Unrestricted.
Destination: Any text object.
Parameters: None.
Return:
true
if object has been modified
.
Interception: Generally not intercepted.
void MSG_VIS_TEXT_SET_NOT_USER_MODIFIED();
This message clears the text object's VTS_USER_MODIFIED flag.
Source: Unrestricted.
Destination: Any text object.
Interception: Generally not intercepted.
void MSG_VIS_TEXT_SET_USER_MODIFIED();
This message sets the text object's VTS_USER_MODIFIED flag.
Source: Unrestricted.
Destination: Any text object.
Interception: Generally not intercepted.
void MSG_VIS_TEXT_MODIFY_EDITABLE_SELECTABLE(
VisTextStates setBits,
VisTextStates clearBits);
This message modifies the text object's VTS_EDITABLE and VTS_SELECTABLE states. These are the only VisTextStates you should modify with this message.
Source: Unrestricted.
Destination: Any text object.
Parameters: setBits The VTS_EDITABLE and/or VTS_SELECTABLE states to set.
Interception: Generally not intercepted.
void MSG_VIS_TEXT_ENTER_OVERSTRIKE_MODE(
Boolean calledFromTextObject);
This message enters the text object into overstrike mode (setting the VTS_OVERSTRIKE_MODE flag).
Source: Unrestricted.
Destination: Any text object.
Parameters:
calledFromTextObject
true
if this message was called internally by the text object.
Interception: Generally not intercepted.
void MSG_VIS_TEXT_ENTER_INSERT_MODE(
Boolean calledFromTextObject);
This message enters the text object into insert mode (clearing the VTS_OVERSTRIKE_MODE flag).
Source: Unrestricted.
Destination: Any text object.
Parameters:
calledFromTextObject
true
if this message was called internally by the text object.
Interception: Generally not intercepted.
GEOS SDK TechDocs
|
|
5.1 VisText Features
|
5.3 VisText VM File Storage