i used the example form the link but the SCROLLBAR
still flips in the first poison wen i put in on the window.
and try to move the value of the bar
1 2 3 4 5 6 7 8 9 10 11 12 13 14
HWND SCR_BR01 = CreateWindowEx(
0, // no extended styles
L"SCROLLBAR", // scroll bar control class
(PTSTR)NULL, // no window text
WS_CHILD | WS_VISIBLE // window styles
| SBS_HORZ, // horizontal scroll bar style
200, // horizontal position
50, // vertical position
150, // width of the scroll bar
100, // height of the scroll bar
hwnd, // handle to main window
(HMENU)NULL, // no menu
NULL, // instance owning this window
(PVOID)NULL // pointer not needed