W
Wells Caughey
Hello Everyone,
I have a class that is derived from ScrollableControl and does custom
painting. My problem is that when ever the DisplayRectangle's Size exceedes
the AutoScrollMinSize the scrollbars actually disappear which messes up my
custom layout logic. What I want is to keep the vertical scroll bar visible
regardless of the DisplayRectangle's relationship to the AutoScrollMinSize.
Specifically I want the vertical scrollbar to remain visible but appear
disabled when the DisplayRectangle exceedes the AutoScrollMinSize.
As an additional constraint, the application that hosts this control is not
given Full Privildeges so I can not use any form of interop.
Thanks,
Wells
I have a class that is derived from ScrollableControl and does custom
painting. My problem is that when ever the DisplayRectangle's Size exceedes
the AutoScrollMinSize the scrollbars actually disappear which messes up my
custom layout logic. What I want is to keep the vertical scroll bar visible
regardless of the DisplayRectangle's relationship to the AutoScrollMinSize.
Specifically I want the vertical scrollbar to remain visible but appear
disabled when the DisplayRectangle exceedes the AutoScrollMinSize.
As an additional constraint, the application that hosts this control is not
given Full Privildeges so I can not use any form of interop.
Thanks,
Wells