Visible part of a Control inside a parent scrollablecontrol
I'm working with a control(a scrollablecontrol type) that is contained
within another scrollablecontrol(panel). The control itself isn't scrolling
but the panel is. I want to be able to get, within the control itself, the
part of the control that is visbile through the scrolling part of the parent.
I basically want to paint something at a particlar relative location of the
control regarldess of where it's scrolled by itself or a parent. So i want
it to always be visible. VisibleClipBounds almost gets me there but it will
also return only the part that needs painting but i want to know the entire
visible area. UNless there is a better way to accomplish this.
Date:Thu, 16 Aug 2007 17:48:38 -0700
Author:
|