Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

C# VScrollBar stop responding suddenly while clicking the up/down button multiple times

$
0
0


My Form has a Panel which has an inner panel. I have a VScrollBar inside the parent panel, which scrolls the inner panel. Everything works fine. But if I keep on clicking the up/down zip of VSCrollBar, the scrollbar seems to get crashed(Appears greyed out and the up/down buttons are disappears)

Subsequent mouse event on this scrollbar sends the WM_LBUTTONDOWN message to the Native window and finally my outer panel (parent of VScorollBar) gets the UpdateBounds() message which makes the panel to the entire form width/height , this hides all my form content except this panel. Also the scollbar no longer works.

Do we have any fix for this issue?


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>