Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using WM_HSCROLL with a child dialog
#3
Gintaras Wrote:Also change this code (here is unchanged)
Member function ChildDialog.Message
Code:
Copy      Help
,if(r.bottom<rc.bottom)
,,SCROLLINFO si.cbSize=sizeof(si)
,,si.fMask=SIF_RANGE|SIF_PAGE
,,si.nMax=rc.bottom
,,si.nPage=r.bottom
,,SetScrollInfo m_hdlgc SB_HORZ &si 0
,,m_scmax=si.nMax-si.nPage
,,m_scpage=si.nPage

I do not understand. If I leave this code alone then the macro works fine. If I change this code then the SCROLL bar will not show. Am I still missing something?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)