I want to disable scrolling ( not hide the scroll bar but disallow scrolling altogether) when the user selects certain items in my listbox
if the user moves to a differnet item ( the criterai are not important ) then I want to re-enable scrolling
How can I do this in .NET 2.0
R – listbox scrolling
listboxwinforms
Best Answer
Override CreateParams property of ListBox class.
Add following code to test,