|
|
| version 1.5, 2004/08/08 09:12:06 | version 1.6, 2004/08/09 02:47:02 |
|---|---|
| Line 25 static void cfgcreate(HWND hWnd) { | Line 25 static void cfgcreate(HWND hWnd) { |
| dlgs_setlistuint32(hWnd, IDC_SAMPLERATE, ratehz, NELEMENTS(ratehz)); | dlgs_setlistuint32(hWnd, IDC_SAMPLERATE, ratehz, NELEMENTS(ratehz)); |
| SPRINTF(work, str_u, xmilcfg.samplingrate); | OEMSPRINTF(work, str_u, xmilcfg.samplingrate); |
| SetDlgItemText(hWnd, IDC_SAMPLERATE, work); | SetDlgItemText(hWnd, IDC_SAMPLERATE, work); |
| SPRINTF(work, str_u, xmilcfg.delayms); | OEMSPRINTF(work, str_u, xmilcfg.delayms); |
| SetDlgItemText(hWnd, IDC_SNDBUFFER, work); | SetDlgItemText(hWnd, IDC_SNDBUFFER, work); |
| SPRINTF(work, str_u, xmilcfg.MOTORVOL); | OEMSPRINTF(work, str_u, xmilcfg.MOTORVOL); |
| SetDlgItemText(hWnd, IDC_SEEKVOL, work); | SetDlgItemText(hWnd, IDC_SEEKVOL, work); |
| SetDlgItemCheck(hWnd, IDC_SKIPLINE, xmilcfg.skipline); | SetDlgItemCheck(hWnd, IDC_SKIPLINE, xmilcfg.skipline); |
| Line 37 static void cfgcreate(HWND hWnd) { | Line 37 static void cfgcreate(HWND hWnd) { |
| MAKELONG(0, 256)); | MAKELONG(0, 256)); |
| SendDlgItemMessage(hWnd, IDC_SKIPLIGHT, TBM_SETPOS, TRUE, | SendDlgItemMessage(hWnd, IDC_SKIPLIGHT, TBM_SETPOS, TRUE, |
| xmilcfg.skiplight); | xmilcfg.skiplight); |
| SPRINTF(work, str_d, xmilcfg.skiplight); | OEMSPRINTF(work, str_d, xmilcfg.skiplight); |
| SetDlgItemText(hWnd, IDC_LIGHTSTR, work); | SetDlgItemText(hWnd, IDC_LIGHTSTR, work); |
| } | } |
| Line 47 static void lightstr(HWND hWnd) { | Line 47 static void lightstr(HWND hWnd) { |
| OEMCHAR work[32]; | OEMCHAR work[32]; |
| val = (UINT)SendDlgItemMessage(hWnd, IDC_SKIPLIGHT, TBM_GETPOS, 0, 0); | val = (UINT)SendDlgItemMessage(hWnd, IDC_SKIPLIGHT, TBM_GETPOS, 0, 0); |
| SPRINTF(work, str_d, val); | OEMSPRINTF(work, str_d, val); |
| SetDlgItemText(hWnd, IDC_LIGHTSTR, work); | SetDlgItemText(hWnd, IDC_LIGHTSTR, work); |
| } | } |