MCPcopy Create free account
hub / github.com/cinience/RedisStudio / Scroll

Method Scroll

DuiLib/Control/UICombo.cpp:188–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void CComboWnd::Scroll(int dx, int dy)
189{
190 if( dx == 0 && dy == 0 ) return;
191 SIZE sz = m_pLayout->GetScrollPos();
192 m_pLayout->SetScrollPos(CSize(sz.cx + dx, sz.cy + dy));
193}
194
195#if(_WIN32_WINNT >= 0x0501)
196UINT CComboWnd::GetClassStyle() const

Callers

nothing calls this directly

Calls 2

GetScrollPosMethod · 0.45
SetScrollPosMethod · 0.45

Tested by

no test coverage detected