Rev 476 | Rev 478 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 476 | Rev 477 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | 23 | ||
24 | #include <Windows.h> |
24 | #include <Windows.h> |
25 | 25 | ||
26 | #define use_plugin_dll_sliders |
26 | #define use_plugin_dll_sliders |
27 | 27 | ||
- | 28 | #ifdef use_plugin_dll_sliders |
|
28 | // PLUGIN.DLL Sliders |
29 | // PLUGIN.DLL Sliders |
29 | BOOL RegisterSlider(HINSTANCE hInstanceDll, DWORD* MessageID); |
30 | BOOL RegisterSlider(HINSTANCE hInstanceDll, DWORD* MessageID); |
30 | BOOL UnRegisterSlider(HINSTANCE hInstanceDll); |
31 | BOOL UnRegisterSlider(HINSTANCE hInstanceDll); |
31 | int SetSliderRange(HWND hWnd, int nMin, int nMax); |
32 | int SetSliderRange(HWND hWnd, int nMin, int nMax); |
32 | int SetSliderPos(HWND hWnd, int nPos, BOOL bRepaint); |
33 | int SetSliderPos(HWND hWnd, int nPos, BOOL bRepaint); |
33 | int GetSliderPos(HWND hWnd, BOOL bPixelPosition); |
34 | int GetSliderPos(HWND hWnd, BOOL bPixelPosition); |
- | 35 | #else |
|
- | 36 | // This dummy is required, otherwise ui_compat.h won't compile |
|
- | 37 | int SetSliderPos(HWND hWnd, int nPos, BOOL bRepaint); |
|
- | 38 | int GetSliderPos(HWND hWnd, BOOL bPixelPosition); |
|
- | 39 | #endif |
|
34 | 40 | ||
35 | // Misc utilities |
41 | // Misc utilities |
36 | Boolean MakeSimpleSubclass(LPCTSTR targetClass, LPCTSTR sourceClass); |
42 | Boolean MakeSimpleSubclass(LPCTSTR targetClass, LPCTSTR sourceClass); |
37 | void Win32sFixSuperclassing(HWND hDlg, int destItem, int sourceItem); |
43 | void Win32sFixSuperclassing(HWND hDlg, int destItem, int sourceItem); |
38 | 44 |