VAPIM_SETHILITE

Highlights a region of text.

Syntax

#include <kvvapi.h>
SendMessage(hWndVAPI, VAPIM_SETHILITE, 
           (WPARAM) (int) cbTextToHilite,
           (LPARAM) (long) lLogicalAddress );

Arguments

Argument Description
hWndVAPI The handle of VAPI window.
cbTextToHilite An integer that is the number of bytes to highlight.
lLogicalAddress A long integer that is the logical address from which to start highlighting.

Returns

SendMessage() returns non-zero on success; or zero on error.

Discussion