How do I prevent DrawReversibleFrame from drawing outside of the SplitContainer and form as shown below? As you can see, the selection frame is being drawn around a control within the container, which is bigger than the visible part of the container itself.
A:
SplitContainer.Panel2.Bounds gives you the rectangle of the portion of the right-hand side panel that's visible.
Hans Passant
2010-07-17 02:50:10
Thanks for the hint.
John_Sheares
2010-07-17 05:25:34