KeyView 24.2

# 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-2024 Open Text
Version 24.2 | Last updated March 2024

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

Topic Title: VAPINM_SELECTION