Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

Open File Dialog Box
[Interfaces of MyWins module of MiniGUIExt library]

Data Structures

Defines

Typedefs

Functions


Define Documentation

#define FILE_ERROR_OK   0
 

See also:
OpenFileDialogEx, OpenFileDialog

Definition at line 55 of file filedlg.h.

#define FILE_ERROR_PARAMERR   -1
 

See also:
OpenFileDialogEx, OpenFileDialog

Definition at line 61 of file filedlg.h.

#define FILE_ERROR_PATHNOTEXIST   -2
 

See also:
OpenFileDialogEx, OpenFileDialog

Definition at line 67 of file filedlg.h.


Typedef Documentation

typedef struct _FILEDLGDATA FILEDLGDATA
 

The file dialog box structure used by OpenFileDialogEx.

See also:
OpenFileDialogEx.

typedef FILEDLGDATA* PFILEDLGDATA
 

Data type of pointer to a FILEDLGDATA

Definition at line 86 of file filedlg.h.


Function Documentation

OpenFileDialog HWND  hWnd,
BOOL  isSave,
PFILEDLGDATA  pmwfi
[inline, static]
 

Creates an Open File Dialog Box.

This function creates an Open File Dialog Box, and returns the full path name of the file selected by user.

It is defined an inline function calling OpenFileDialogEx.

Parameters:
hWnd The hosting main window.
isSave Indicates to create a Save File or an Open File dialog box.
pmwfi The pointer to the FILEDLGDATA structure.
Returns:
A positive integer on success, negative on error.
Return values:
IDOK The user choosed a file and OK button clicked.
IDCANCLE CANCEL button clicked.
FILE_ERROR_PARAMERR You passed a wrong parameters.
FILE_ERROR_PATHNOTEXIST The path specified in pmwfi does not exist.
See also:
FILEDLGDATA, OpenFileDialogEx

Definition at line 138 of file filedlg.h.

References _FILEDLGDATA::IsSave, and OpenFileDialogEx().

OpenFileDialogEx HWND  hWnd,
int  lx,
int  ty,
int  w,
int  h,
PFILEDLGDATA  pmwfi
 

Creates an Open File Dialog Box.

This function creates an Open File Dialog Box, and returns the full path name of the file selected by user.

Parameters:
hWnd The hosting main window.
lx lx: The default position and size of the dialog box.
ty ly: The default position and size of the dialog box.
w w: The default position and size of the dialog box.
h h: The default position and size of the dialog box.
pmwfi The pointer to the FILEDLGDATA structure.
Returns:
A positive integer on success, negative on error.
Return values:
IDOK The user choosed a file and OK button clicked.
IDCANCLE CANCEL button clicked.
FILE_ERROR_PARAMERR You passed a wrong parameters.
FILE_ERROR_PATHNOTEXIST The path specified in pmwfi does not exist.
See also:
FILEDLGDATA, OpenFileDialog

Referenced by OpenFileDialog().


Generated on Mon Jun 26 14:21:40 2006 for MiniGUI V2.0.3 API Reference by  doxygen 1.4.2