|
|
| version 1.6, 2005/03/20 13:12:50 | version 1.9, 2007/10/26 14:38:34 |
|---|---|
| Line 1 | Line 1 |
| #ifdef STRICT | |
| #define SUBCLASSPROC WNDPROC | |
| #else | |
| #define SUBCLASSPROC FARPROC | |
| #endif | |
| typedef struct { | typedef struct { |
| const TCHAR *title; | const TCHAR *title; |
| const TCHAR *ext; | const TCHAR *ext; |
| Line 24 extern const TCHAR str_int6[]; | Line 18 extern const TCHAR str_int6[]; |
| SendDlgItemMessage((a), (b), BM_SETCHECK, (c), 0) | SendDlgItemMessage((a), (b), BM_SETCHECK, (c), 0) |
| #define GetDlgItemCheck(a, b) \ | #define GetDlgItemCheck(a, b) \ |
| (((int)SendDlgItemMessage((a), (b), BM_GETCHECK, 0, 0))?1:0) | (((int)SendDlgItemMessage((a), (b), BM_GETCHECK, 0, 0)) != 0) |
| #define AVE(a, b) \ | #define AVE(a, b) \ |
| (((a) + (b)) / 2) | (((a) + (b)) / 2) |
| Line 38 extern const TCHAR str_int6[]; | Line 32 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_selectfile(HWND hWnd, const FILESEL *item, |
| OEMCHAR *path, UINT size, int *ro); | OEMCHAR *path, UINT size, int *ro); |
| Line 51 void dlgs_browsemimpidef(HWND hWnd, UINT | Line 47 void dlgs_browsemimpidef(HWND hWnd, UINT |
| 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_setdroplistitem(HWND hWnd, UINT uID, | |
| const TCHAR **ppszItem, UINT uItems); | |
| void dlgs_setdroplistnumber(HWND hWnd, UINT uID, int nPos); | |
| int dlgs_getdroplistnumber(HWND hWnd, UINT uID); | |
| 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); | |