Rev 192 | Rev 206 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 192 | Rev 198 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | #include <commctrl.h> |
28 | #include <commctrl.h> |
29 | 29 | ||
30 | #include "ff.h" |
30 | #include "ff.h" |
31 | #include "version.h" |
31 | #include "version.h" |
32 | 32 | ||
33 | extern HANDLE hDllInstance; |
33 | extern HINSTANCE hDllInstance; |
34 | 34 | ||
35 | INT_PTR CALLBACK builddlgproc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam); |
35 | INT_PTR CALLBACK builddlgproc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam); |
36 | 36 | ||
37 | INT_PTR CALLBACK builddlgproc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam){ |
37 | INT_PTR CALLBACK builddlgproc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam){ |
38 | int item; |
38 | int item; |
Line 57... | Line 57... | ||
57 | 57 | ||
58 | return true; |
58 | return true; |
59 | } |
59 | } |
60 | 60 | ||
61 | Boolean builddialog(FilterRecordPtr pb){ |
61 | Boolean builddialog(FilterRecordPtr pb){ |
62 | PlatformData *p = pb->platformData; |
62 | PlatformData *p = (PlatformData *)pb->platformData; |
63 | return DialogBoxParam(hDllInstance,MAKEINTRESOURCE(ID_BUILDDLG), |
63 | return DialogBoxParam(hDllInstance,MAKEINTRESOURCE(ID_BUILDDLG), |
64 | gdata->hWndMainDlg ? gdata->hWndMainDlg : (HWND)p->hwnd,builddlgproc,0) == IDOK; |
64 | gdata->hWndMainDlg ? gdata->hWndMainDlg : (HWND)p->hwnd,builddlgproc,0) == IDOK; |
65 | } |
65 | } |