void MyScrollBar::OnPaint() { SCROLLBARINFO sbi; sbi.cbSize=sizeof(SCROLLBARINFO); ::GetScrollBarInfo(this->m_hWnd,OBJID_CLIENT,&sbi); m_cliRect=sbi.rcScrollBar; sbi.xyThumbTop;//the value is 0 }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)