KeyView 23.3

# 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-2023 Open Text
Version 23.3 | Last updated June 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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.3

Topic Title: VAPINM_SELECTION