Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:51 Go to next message
James Barnett is currently offline James BarnettFriend
Messages: 3
Registered: July 2009
Junior Member
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 18:08 Go to previous message
James Barnett is currently offline James BarnettFriend
Messages: 3
Registered: July 2009
Junior Member
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: Fri Apr 26 14:01:09 GMT 2024

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

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

Back to the top