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
 

Open file success.

Definition at line 53 of file newfiledlg.h.

#define FILE_ERROR_PARAMERR   -1
 

Wrong parameters.

#define MAX_FILTER_LEN   255
 

The maximum length of filter string.

Definition at line 71 of file newfiledlg.h.

#define MY_NAMEMAX   127
 

The maximum length of name.

Definition at line 77 of file newfiledlg.h.

#define MY_PATHMAX   255
 

The maximum length of path.

Definition at line 83 of file newfiledlg.h.


Typedef Documentation

typedef struct _NEWFILEDLGDATA NEWFILEDLGDATA
 

The file dialog box structure used by ShowOpenDialog.

See also:
ShowOpenDialog.

typedef NEWFILEDLGDATA* PNEWFILEDLGDATA
 

Data type of pointer to a NEWFILEDLGDATA

Definition at line 107 of file newfiledlg.h.


Function Documentation

int ShowOpenDialog HWND  hWnd,
int  lx,
int  ty,
int  w,
int  h,
PNEWFILEDLGDATA  pnfdd
 

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,ty,w,h: The default position and size of the dialog box.
ty lx,ty,w,h: The default position and size of the dialog box.
w lx,ty,w,h: The default position and size of the dialog box.
h lx,ty,w,h: The default position and size of the dialog box.
pnfdd The pointer to the NEWFILEDLGDATA structure.
Return values:
IDOK The user choosed a file and OK button clicked.
IDCANCLE CANCEL button clicked.
See also:
NEWFILEDLGDATA, ShowOpenDialog


Generated on Mon Jun 26 13:54:34 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2