Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ActiveX control repaint/clip in JScrollpane((How do I repaint and clip my activeX control in a JScrollpane?))
ActiveX control repaint/clip in JScrollpane [message #1014445] Mon, 25 February 2013 20:57
Bill Myers is currently offline Bill Myers
Messages: 2
Registered: February 2013
Junior Member
I have an ActiveX control embedded inside a JScrollPane in my java application. Everything works fine except when the scroll pane is actually scrolled. I'm using the OleControlSite code that Eclipse SWT provides as an example for embedding controls in Java apps. I have uploaded two pictures that illustrate the problem.

1)Any ideas on how to ensure that the control is clipped?
2)Also, after scrolling, there are painting issues with the activeX control. I usually have to go to another tab, then return to the original tab to force a repaint. Sometimes this clips the control to the pane, sometimes it doesn't.
Thanks for the help.
Bill

Before Scrolling
http://www.eclipse.org/forums/index.php/fa/13479/
After Scrolling
http://www.eclipse.org/forums/index.php/fa/13480/
Previous Topic:How put an OleControlSite in read-only
Next Topic:Populate table row on tree item click using SWT
Goto Forum:
  


Current Time: Thu Oct 23 16:41:01 GMT 2014

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

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