Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
Container Offsets
When the owner window of the container has been scrolled horizontally or vertically the container should be notified about the change so it can adjust the coordinates accordingly. To set the offset values for the container, call LContainer::SetOffset. To determine the current offset values, call LContainer::GetOffset. This can often be handled when processing the WM_HSCROLL and WM_VSCROLL messages.