KeyView 23.4

# VAPINM_VIEW_FILE

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-2023 Open Text
Version 23.4 | Last updated September 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.4

Topic Title: VAPINM_VIEW_FILE