Lines Matching refs:cx
69 if ((bar == SB_HORZ) && (windowSize.cx < m_displaySize.cx)) in SetScrollPos()
71 int deltaPos = newpos - m_scrollPos.cx; in SetScrollPos()
72 m_scrollPos.cx += deltaPos; in SetScrollPos()
73 m_attachWnd->SetScrollPos(SB_HORZ, m_scrollPos.cx, redraw); in SetScrollPos()
100 if ( m_displaySize.cx > 0 && m_pageSize.cx > 0 && m_scrollPos.cx > 0 ) in ScrollToOrigin()
102 int deltaPos = -m_scrollPos.cx; in ScrollToOrigin()
103 m_scrollPos.cx += deltaPos; in ScrollToOrigin()
104 m_attachWnd->SetScrollPos(SB_HORZ, m_scrollPos.cx, TRUE); in ScrollToOrigin()
144 deltaPos = -m_pageSize.cx; in OnHScroll()
149 deltaPos = m_pageSize.cx; in OnHScroll()
154 deltaPos = Get32BitScrollPos(SB_HORZ, pScrollBar) - m_scrollPos.cx; in OnHScroll()
159 deltaPos = Get32BitScrollPos(SB_HORZ, pScrollBar) - m_scrollPos.cx; in OnHScroll()
168 int newScrollPos = m_scrollPos.cx + deltaPos; in OnHScroll()
173 deltaPos = -m_scrollPos.cx; in OnHScroll()
178 int maxScrollPos = m_displaySize.cx - m_pageSize.cx; in OnHScroll()
180 deltaPos = maxScrollPos - m_scrollPos.cx; in OnHScroll()
185 m_scrollPos.cx += deltaPos; in OnHScroll()
186 m_attachWnd->SetScrollPos(SB_HORZ, m_scrollPos.cx, TRUE); in OnHScroll()
305 void CScrollHelper::OnSize(UINT nType, int cx, int cy) in OnSize() argument
324 pos = m_scrollPos.cx; in Scroll()
325 max_pos = m_displaySize.cx - m_pageSize.cx; in Scroll()
399 UpdateScrollBar(SB_HORZ, windowSize.cx, m_displaySize.cx, in UpdateScrollInfo()
400 m_pageSize.cx, m_scrollPos.cx, deltaPos.cx); in UpdateScrollInfo()
412 if ( deltaPos.cx != 0 || deltaPos.cy != 0 ) in UpdateScrollInfo()
414 m_attachWnd->ScrollWindow(deltaPos.cx, deltaPos.cy); in UpdateScrollInfo()
480 if (rect.Width() < m_displaySize.cx) in GetClientRectSB()
489 if (rect.Width() < m_displaySize.cx) in GetClientRectSB()