Name
hw_FileRequest -- pop up a file requester (V5.0)
Synopsis
int ok = hw_FileRequest(STRPTR title, STRPTR buf, int len,
             struct hwTagList *tags);
Function
This function will open a file requester (also known as an open dialog box or file chooser dialog) that prompts the user to select a file for opening. The function will then copy the path to the string buffer passed in the second parameter. If the user cancels the requester, hw_FileRequest() will return False and the string buffer won't be modified. If the user selects a file and acknowledges the requester, True is returned.

Designer compatibility
Unsupported

Inputs
title
string to show in the requester's title
buf
string buffer to receive user's selection
len
size of the string buffer in bytes
tags
reserved for future use; pass NULL
Results
ok
True or False indicating whether the user selected a file or not

Show TOC