KeyView 24.4
KeyView Viewing SDK Programming Guide

# VAPIMWP_MULTIOBJ_PREVOBJ

Changes the current object to the previous object in a multiple-object document. See Change the Current Object in a Document. This is a parameter of the `VAPIM_MULTIOBJ` message.

## Syntax

    #include <kvvapi.h>
    SendMessage(hWndVAPI, VAPIM_MULTIOBJ, VAPIMWP_MULTIOBJ_PREVOBJ, 0L );

## Arguments

Argument | Description
--- | ---
`hWndVAPI` | The handle of the VAPI window.

## Returns

`SendMessage()` returns `TRUE` if the current object was changed to the previous object; otherwise it returns `FALSE`.

## Discussion

- You can use this message to implement a Previous Object menu item or toolbar button. This message generates a `VAPINMWP_MULTIOBJ_OBJNAME` notification message that reports the new object name.

- When viewing spreadsheets or presentations in index mode, this message fails if the next page has not been completely indexed yet, or if the current page is the first page. It does not allow the first page to wrap around to the last page, as it does in non-index mode.

Copyright 2016-2024 Open Text
Version 24.4 | Last updated September 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.4

Topic Title: VAPIMWP_MULTIOBJ_PREVOBJ