Groups | Blog | Home
all groups > dotnet drawing api > march 2007 >

dotnet drawing api : Problem with Vertical Scrollbar


msedi
3/5/2007 10:20:47 AM
Hello,

has someone ever had the problem that actions that can occur in the
scrollbar can crash the whole application? In my application I have a
scrollbar
to scroll through a volume data of medical images. When I scoll by
clicking the up/down buttons
several time the application crashes in a way so that the scroll bar
repainting is completed crashed
and controlling the scrollbar after this crashes causes the
application to resize.
Using the thumb to scroll through the works fine. Also if I create a
seperate button which does the same than clicking on the up/down
button of the scrollbar is ok. what could be wrong?

Thank you
Martin
GraGra33
3/11/2007 12:00:00 AM
No. I've done something similar and haven't experienced the crashing that
you describe.

My suggestion would be to check that any resourses that you create (like pen
or brush objects) are disposed of correctly. Not doing this correctly can
cause problems like you describe.


[quoted text, click to view]

AddThis Social Bookmark Button