prompt_file

This macro displays an Open File dialog.

Syntax:

int prompt_file(title, buff)
char *
title;
char
*buff;

where:

title                       The text that appears in the title bar of the Open File dialog.

buff                      The filename that appears in the Filename text box of the dialog. Assign an empty string to leave blank.

Return Value

int                         0      File opened.

                            1      Cancel.

Rules

None.