# VAPINM_VIEW_FILE

## Description

Specifies a file that should be viewed. For example, this notification message is generated when the user double-clicks a subfile in a container file displayed in VAPI. This message is also generated when the user clicks a link to a local file from within an HTML file displayed in VAPI.

## Syntax

    #include <kvvapi.h>
    VAPINM_VIEW_FILE = uMsg;
    VAPINMWP_VIEW_KEEPFILE or VAPIMWP_VIEW_DELETEFILE = wParam;
    char* lpszFileName = (char*) lParam;

## Arguments

Argument | Description
--- | ---
`lpszFileName` | A pointer to the complete file specification, including the path, of a file that should be viewed. If the `wParam` is `VAPIMWP_VIEW_DELETEFILE`, the file should be deleted after it is viewed (the file is a temporary file).

## Returns

Returns `TRUE` if the message is processed.

_FT_HTML5_bannerTitle.htm