KeyView 23.4

# Change the Current Object in a Document

There are many Viewing parameters that control the objects in a multiple-object document. Examples of a multiple-object document include a Microsoft Excel spreadsheet with multiple worksheets, and a Microsoft PowerPoint presentation with multiple slides.

- To determine whether a document contains multiple objects, use the VAPIMWP_MULTIOBJ_CANMULTIOBJ message.

- To determine the number of objects in a multiple-object document, use the VAPIMWP_MULTIOBJ_GETOBJCOUNT message.

- To change the current object to the next object in a document, use the VAPIMWP_MULTIOBJ_NEXTOBJ message.

- To change the current object to the previous object in a document, use the VAPIMWP_MULTIOBJ_PREVOBJ message.

- To get the name of the current object in a document, use the VAPIMWP_MULTIOBJ_OBJNAME message.

- To change the current object to a target object in a document, use the VAPIMWP_MULTIOBJ_SETCURRENTOBJ message.

- To receive the name of the current object, which VAPI sends when the document is first opened or whenever the object changes, wait for the VAPINMWP_MULTIOBJ_OBJNAME notification message.

Copyright 2016-2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.4

Topic Title: Change the Current Object in a Document