Skip to main content



      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 15:57
Eclipse UserFriend
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: Sun Aug 31 20:10:40 EDT 2025

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

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

Back to the top