File Content Extraction 25.3
Viewing SDK Programming Guide

# VAPINM_SELECTION

Reports that the user changed the selection state.

## Syntax

    #include <kvvapi.h>
    VAPINM_SELECTION = uMsg;
    BOOL bHaveSelection = (BOOL) wParam;
    TPVAPIFirstLast lpFirstLast = (TPVAPIFirstLast*) lParam;

## Arguments

Argument | Description
--- | ---
`bHaveSelection` | A flag that is `TRUE` if a selection exists; `FALSE` if a selection does not exist.
`lpFirstLast` | A pointer to a TPVAPIFirstLast structure that defines the selection, if a selection exists. It is undefined if a selection does not exist.

## Returns

None

## Discussion

The `lpFirstLast` parameter is not valid if the `bHaveSelection` parameter is `FALSE`.

Copyright 2016-2025 Open Text
Version 25.3 | Last updated July 2025

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: File Content Extraction 25.3

Topic Title: VAPINM_SELECTION