469,902 Members | 2,009 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,902 developers. It's quick & easy.

HScrollBar not remaining anchored to bottom of ListBox when scrolling vertically

I have created an owner draw ListBox object. I have added an HScrollBar
control to its Control collection. I have set the Anchor property to
AnchorStyles.Bottom and the Dock property to DockStyle.Bottom.

When the list box is first displayed on my form the horizontal scroll bar is
in the correct place. However, when I scroll the list
box entries downwards (using the vertical scroll bar), the horizontal scroll
bar moves as if it were a line in the list box (clearly not what I would
like to happen!).

Can someone please tell me what's wrong?

Thanks in advance,
Valerie Hough
Nov 16 '05 #1
0 1076

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by =?Utf-8?B?YW1iZXI=?= | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.