Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » painting problems when using ScrolledComposite.setOrigin()
painting problems when using ScrolledComposite.setOrigin() [message #465356] Fri, 09 December 2005 12:51 Go to next message
Eclipse UserFriend
Hi -- I have a ScrolledComposite that I'm tring to programatically scroll
using the ScrolledComposite.seOrigin() method. Thing is, I'm trying to
scroll it during a drag and drop gesture when the DropTragetEvent location
is close to the edge of the client area (simlar horizontal scrolling
behvaior to MS Windows).

After calling the setOrigin method, I am seeing the scrolling of the
composite but the repaint is not happening until after I release the
mouse. This causes all sorts of painting streaks.

Any idea what I'm doing wrong?

Thanks -- James Barnett
Re: painting problems when using ScrolledComposite.setOrigin() [message #465359 is a reply to message #465356] Fri, 09 December 2005 13:08 Go to previous message
Eclipse UserFriend
I should add that it appears the redraw calls are queued up until the d n
d is completed.

Thanks -- James Barnett
Previous Topic:SWT application port to PocketPC
Next Topic:CheckboxTableViewer and selection event
Goto Forum:
  


Current Time: Tue Jul 15 01:58:58 EDT 2025

Powered by FUDForum. Page generated in 0.04172 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top