More uiSlider work.

This commit is contained in:
Pietro Gagliardi 2015-05-20 11:22:29 -04:00
parent e1744b17a2
commit 1f7b6ca1ed
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,9 @@
// 20 may 2015
#include "uipriv_windows.h"
// TODOs
// - investigate overriding WM_ERASEBKGND to simulate TBS_TRANSPARENTBKGND
struct slider {
uiSlider s;
HWND hwnd;
@ -24,6 +27,7 @@ static BOOL onWM_HSCROLL(uiControl *c, WORD code, LRESULT *lResult)
struct slider *s = (struct slider *) c;
(*(s->onChanged))(uiSlider(s), s->onChangedData);
*lResult = 0;
return TRUE;
}