1

Topic: Problem with SetScrollInfo

Casually faced the following problem: I Install vertical and horizontal scroll bar. SCROLLINFO si = {sizeof (SCROLLINFO)}; si.fMask = SIF_RANGE; si.nMin = 0; si.nMax = 100;:: SetScrollInfo (hWnd, SB_VERT, &si, TRUE);:: SetScrollInfo (hWnd, SB_HORZ, &si, TRUE); According to the logic of things there should be two bands. There is only a vertical. If, si.nMax = 101;:: SetScrollInfo (hWnd, SB_HORZ, &si, TRUE); there are two scroll bars. I.e. if at bands identical parameters there is only one band. Is interesting it wash a glitch or system? Thanks. PS VS2015 Win7 (64)

2

Re: Problem with SetScrollInfo

Hello, Vladimir, you wrote: V> Casually faced the following problem: V> I Install vertical and horizontal scroll bar. It was recalled while only about ES_AUTO*SCROLL because of which corresponding  do not appear until the content does not start to get out for appropriate boundaries.