| version 1.8, 2006/12/24 00:52:30 | version 1.12, 2007/12/16 14:58:25 | 
| Line 1 | Line 1 | 
 |  |  | 
| typedef struct { | struct tagFileSelectParam | 
| const TCHAR     *title; | { | 
| const TCHAR     *ext; | LPTSTR  lpszTitle; | 
| const TCHAR     *filter; | LPTSTR  lpszDefExt; | 
| int             defindex; | LPTSTR  lpszFilter; | 
| } FILESEL; | int             nFilterIndex; | 
|  | }; | 
|  | typedef struct tagFileSelectParam               FSPARAM; | 
|  | typedef struct tagFileSelectParam               *PFSPARAM; | 
|  | typedef const struct tagFileSelectParam *PCFSPARAM; | 
|  |  | 
|  | struct tagCBParam | 
|  | { | 
|  | LPCTSTR lpcszString; | 
|  | int             nItemData; | 
|  | }; | 
|  | typedef struct tagCBParam               CBPARAM; | 
|  | typedef struct tagCBParam               *PCBPARAM; | 
|  | typedef const struct tagCBParam *PCCBPARAM; | 
|  |  | 
|  | struct tagCBNParam | 
|  | { | 
|  | UINT    uValue; | 
|  | int             nItemData; | 
|  | }; | 
|  | typedef struct tagCBNParam                      CBNPARAM; | 
|  | typedef struct tagCBNParam                      *PCBNPARAM; | 
|  | typedef const struct tagCBNParam        *PCCBNPARAM; | 
 |  |  | 
 | extern const TCHAR str_nc[]; | extern const TCHAR str_nc[]; | 
 | extern const TCHAR str_int0[]; |  | 
 | extern const TCHAR str_int1[]; |  | 
 | extern const TCHAR str_int2[]; |  | 
 | extern const TCHAR str_int4[]; |  | 
 | extern const TCHAR str_int5[]; |  | 
 | extern const TCHAR str_int6[]; |  | 
 |  |  | 
 | #define SetDlgItemCheck(a, b, c)        \ | #define SetDlgItemCheck(a, b, c)        \ | 
 | SendDlgItemMessage((a), (b), BM_SETCHECK, (c), 0) | SendDlgItemMessage((a), (b), BM_SETCHECK, (c), 0) | 
| Line 32  extern const TCHAR str_int6[]; | Line 48  extern const TCHAR str_int6[]; | 
 | #define SETLISTUINT32(a, b, c)          \ | #define SETLISTUINT32(a, b, c)          \ | 
 | dlgs_setlistuint32((a), (b), (c), NELEMENTS((c))) | dlgs_setlistuint32((a), (b), (c), NELEMENTS((c))) | 
 |  |  | 
 |  | void dlgs_enablebyautocheck(HWND hWnd, UINT uID, UINT uCheckID); | 
 |  | void dlgs_disablebyautocheck(HWND hWnd, UINT uID, UINT uCheckID); | 
 |  |  | 
| BOOL dlgs_selectfile(HWND hWnd, const FILESEL *item, | BOOL dlgs_openfile(HWND hWnd, PCFSPARAM pcParam, | 
| OEMCHAR *path, UINT size, int *ro); | OEMCHAR *pszPath, UINT uSize, int *puRO); | 
| BOOL dlgs_selectwritefile(HWND hWnd, const FILESEL *item, | BOOL dlgs_createfile(HWND hWnd, PCFSPARAM pcParam, | 
| OEMCHAR *path, UINT size); | OEMCHAR *pszPath, UINT uSize); | 
| BOOL dlgs_selectwritenum(HWND hWnd, const FILESEL *item, | BOOL dlgs_createfilenum(HWND hWnd, PCFSPARAM pcParam, | 
| OEMCHAR *path, UINT size); | OEMCHAR *pszPath, UINT uSize); | 
 |  |  | 
 | void dlgs_browsemimpidef(HWND hWnd, UINT16 res); | void dlgs_browsemimpidef(HWND hWnd, UINT16 res); | 
 |  |  | 
 | void dlgs_setliststr(HWND hWnd, UINT16 res, const TCHAR **item, UINT items); | void dlgs_setliststr(HWND hWnd, UINT16 res, const TCHAR **item, UINT items); | 
 | void dlgs_setlistuint32(HWND hWnd, UINT16 res, const UINT32 *item, UINT items); | void dlgs_setlistuint32(HWND hWnd, UINT16 res, const UINT32 *item, UINT items); | 
 |  |  | 
 |  | void dlgs_setcbitem(HWND hWnd, UINT uID, PCCBPARAM pcItem, UINT uItems); | 
 |  | void dlgs_setcbnumber(HWND hWnd, UINT uID, PCCBNPARAM pcItem, UINT uItems); | 
 |  | void dlgs_setcbcur(HWND hWnd, UINT uID, int nItemData); | 
 |  | int dlgs_getcbcur(HWND hWnd, UINT uID, int nDefault); | 
 |  |  | 
 | void dlgs_setlistmidiout(HWND hWnd, UINT16 res, const OEMCHAR *defname); | void dlgs_setlistmidiout(HWND hWnd, UINT16 res, const OEMCHAR *defname); | 
 | void dlgs_setlistmidiin(HWND hWnd, UINT16 res, const OEMCHAR *defname); | void dlgs_setlistmidiin(HWND hWnd, UINT16 res, const OEMCHAR *defname); | 
 |  |  | 
 | void dlgs_drawbmp(HDC hdc, UINT8 *bmp); | void dlgs_drawbmp(HDC hdc, UINT8 *bmp); | 
 |  |  | 
 |  | BOOL dlgs_getitemrect(HWND hWnd, UINT uID, RECT *pRect); | 
 |  |  |