it's usable as every other control with windows messages, hwoever, scrollbars are a pain in the bottom, even in C++ programs, they're just miles from being user friendly. Here's a piece of code from Plus! that may help you.
code:
SCROLLINFO infoScroll; ZeroMemory(&infoScroll, sizeof(infoScroll));
infoScroll.cbSize = sizeof(SCROLLINFO);
infoScroll.fMask = SIF_DISABLENOSCROLL|SIF_PAGE|SIF_POS|SIF_RANGE;
infoScroll.nPage = rcOptionsArea.Height();
infoScroll.nMax = pOptionsWnd->m_nRealHeight;
infoScroll.nPos = pOptionsWnd->m_nCurrentScrollPos;
if(infoScroll.nMax <= (int)infoScroll.nPage)
{
::EnableScrollBar(wndScroll, SB_CTL, ESB_DISABLE_BOTH);
wndScroll.ShowWindow(SW_HIDE);
}
else
{
::EnableScrollBar(wndScroll, SB_CTL, ESB_ENABLE_BOTH);
wndScroll.ShowWindow(SW_SHOW);
}
:: SetScrollInfo(wndScroll, SB_CTL, &infoScroll, TRUE);