Simple trackbar demo :
WndProc PROC hWnd:DWORD,uMsg:DWORD,wParam:DWORD,lParam:DWORD
.IF uMsg==WM_DESTROY
invoke PostQuitMessage,NULL
.ELSEIF uMsg==WM_CREATE
invoke CreateWindowEx,0,ADDR TBAR_CLASS,0,\
WS_CHILD or WS_VISIBLE or TBS_BOTTOM,\
50,50,200,30,hWnd,0,hInstance,0
mov hSlider,eax
invoke SendMessage,eax,TBM_SETRANGE,TRUE,\
0 or (100 shl 16)
invoke SendMessage,hSlider,TBM_SETPOS,TRUE,50
.
.