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 MyersFriend
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.

Before Scrolling
After Scrolling
Previous Topic:How put an OleControlSite in read-only
Next Topic:Populate table row on tree item click using SWT
Goto Forum:

Current Time: Tue Apr 24 09:11:16 GMT 2018

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

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