Open topic with navigation

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

© Copyright 2016-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm