Panel AutoScroll - How can I tell when the scrollbar is visible?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • newsgroper@yahoo.com

    Panel AutoScroll - How can I tell when the scrollbar is visible?

    I set the AutoScroll property of a windows panel to true. How can I
    tell when the scrollbar becomes visible?
  • Girish NS

    #2
    Re: Panel AutoScroll - How can I tell when the scrollbar is visible?

    You can't control the visibility of scrollbar


    <newsgroper@yah oo.com> wrote in message
    news:70dd91df.0 310230048.14714 642@posting.goo gle.com...[color=blue]
    > I set the AutoScroll property of a windows panel to true. How can I
    > tell when the scrollbar becomes visible?[/color]


    Comment

    • Kenneth Baltrinic

      #3
      Re: Panel AutoScroll - How can I tell when the scrollbar is visible?

      The only means I can see of doing this is to iterated over the contents of
      the panel and evaluate each to see if its perimeter is outside the actual
      bounds of the control (and remembering to account for the AutoScrollMargi n
      and AutoScrollMinSi ze as well.) This is very indirect and certainly not
      proof positive to work but its the best I can come up with.

      --Ken

      <newsgroper@yah oo.com> wrote in message
      news:70dd91df.0 310230048.14714 642@posting.goo gle.com...[color=blue]
      > I set the AutoScroll property of a windows panel to true. How can I
      > tell when the scrollbar becomes visible?[/color]


      Comment

      Working...