This function creates and displays the file dialog and returns the user's selection or selections.

#define INCL_winstdfile
#include <os2.h>

HWND        hwndP;    /*  Parent-window handle. */
HWND        hwndO;    /*  Requested owner-window handle. */
PFILEDLG    pfild;    /*  Pointer to a FILEDLG structure. */
HWND        hwndDlg;  /*  File dialog window handle. */

hwndDlg = WinFileDlg(hwndP, hwndO, pfild);


[Back] [Next]