Mercurial > msvpvf
comparison src/gui.c @ 34:800b9eabc548
wait.. is the cast even needed?
author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
---|---|
date | Sun, 17 Apr 2022 02:50:22 -0400 |
parents | cc498a5feaaf |
children | 161ec4e87d0a |
comparison
equal
deleted
inserted
replaced
33:cc498a5feaaf | 34:800b9eabc548 |
---|---|
213 case WM_COMMAND: | 213 case WM_COMMAND: |
214 if(HIWORD(wParam) == CBN_SELCHANGE) { | 214 if(HIWORD(wParam) == CBN_SELCHANGE) { |
215 if (LOWORD(wParam) == COMBOBOX) | 215 if (LOWORD(wParam) == COMBOBOX) |
216 version = (int16_t)(8+SendMessage((HWND) lParam, (UINT) CB_GETCURSEL, (WPARAM) 0, (LPARAM) 0)); | 216 version = (int16_t)(8+SendMessage((HWND) lParam, (UINT) CB_GETCURSEL, (WPARAM) 0, (LPARAM) 0)); |
217 if (LOWORD(wParam) == LISTBOX) | 217 if (LOWORD(wParam) == LISTBOX) |
218 type = (types)SendMessage((HWND) lParam, (UINT) LB_GETCURSEL, (WPARAM) 0, (LPARAM) 0); | 218 type = SendMessage((HWND) lParam, (UINT) LB_GETCURSEL, (WPARAM) 0, (LPARAM) 0); |
219 } | 219 } |
220 switch(wParam) { | 220 switch(wParam) { |
221 case OPEN_FILE_BUTTON: | 221 case OPEN_FILE_BUTTON: |
222 file_name = open_file(hWnd); | 222 file_name = open_file(hWnd); |
223 break; | 223 break; |