KeyView 24.1

# VAPIM_GETNEXTTEXTBUFFER

Gets text buffers in index-only mode.

## Syntax

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

## Arguments

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

## Returns

`SendMessage()` returns `TRUE` if a text buffer was returned, and `FALSE` if there are no more text buffers in the document, that is, the end of document is reached.

## Discussion

This message is used to generate `VAPINM_TEXTBUFFER` notification messages when Viewing is in index-only mode (except for the very first text buffer, which comes automatically after a `VAPIMWP_INIT_OPEN_DOCUMENT` message is sent). The `VAPINM_TEXTBUFFER` notification messages is received before this message returns.

There might be two notification messages generated, one for the text buffer and one to indicate the end of the document.

Copyright 2016-2023 Open Text
Version 24.1 | Last updated December 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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL KeyView 24.1

Topic Title: VAPIM_GETNEXTTEXTBUFFER