[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Scrolling in a basic custom widget that extends Canvas

I am trying to create a custom widget by extending Canvas.
I am painting on the canvas and have both a paintlistener
for the purpose and I have also overridden computeSize.
But I am not able to get Scrollbars properly for the widget
on setting a V_SCROLL | H_SCROLL style to it.
The scrollbars do appear but on scrolling they do not show
the painted area hidden from view if the display area is not
enough.
Any ideas ???

Thanx in advance,
 Chandresh