Edit a Document
Search for Text
-
To determine whether a document can be searched, use the
VAPIMWP_EDIT_CANFINDmessage. See VAPIMWP_EDIT_CANFIND . -
To search a document for the specified text, use the
VAPIMWP_EDIT_FINDmessage. See VAPIMWP_EDIT_FIND . -
To get the currently selected text in a document, use the
VAPIMWP_EDIT_GETFINDTEXTmessage. See VAPIMWP_EDIT_GETFINDTEXT .
Copy Text
-
To determine whether the selected text in a document can be copied, use the
VAPIMWP_EDIT_CANCOPYmessage. See VAPIMWP_EDIT_CANCOPY . -
To copy the selected text in a document, use the
VAPIMWP_EDIT_COPYmessage. See VAPIMWP_EDIT_COPY . -
To determine whether all the items in a document can be selected, use the
VAPIMWP_EDIT_CANSELECTALLmessage. SeeVAPIMWP_EDIT_CANSELECTALL . -
To select all the items in a document, use the
VAPIMWP_EDIT_SELECTALLmessage. See VAPIMWP_EDIT_SELECTALL.