samyee
asked on
CListCtrl:: Remove HScroll
Q1) I wish to remove away the HScroll of the CListCtrl in report view but not the VScroll....
The only properties that I can find is the <No Scroll> option found in the Extended Style...
BUT I still need the VScroll but NOT the buttom HScroll...
The only properties that I can find is the <No Scroll> option found in the Extended Style...
BUT I still need the VScroll but NOT the buttom HScroll...
ASKER
A CCtrlList in Report view.... I dun really understand ur question??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
void CMyListCtrl::DrawItem(LPDR AWITEMSTRU CT lpDrawItemStruct)
{
.......................... .......... .......... ......
.......................... .......... .......... ......
this->ShowScrollBar (SB_HORZ,FALSE);
// or [this->SetScrollRange(SB_H ORZ,0,0);]
}
{
..........................
..........................
this->ShowScrollBar (SB_HORZ,FALSE);
// or [this->SetScrollRange(SB_H
}
which kind of list is your CListCtr?