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

© Copyright 2016-2020 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 mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm