# VAPINM_SELECTION

## Description

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

_FT_HTML5_bannerTitle.htm