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.