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 |
---|---|
|
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.