I am creating a MFC application in which adding Scrollbar to CDialogBar. But its not showing automatically when i open a file which displays some boxes in CDialog. When I click on scroll bar then only its showing up otherwise not.
Here am using like this to display scrollbar. SetScrollRange(SB_VERT,0,4,TRUE); SetScrollPos(SB_VERT,0); ShowScrollBar(SB_VERT);