Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » can you create a SWT widget off screen and scape graphics?
can you create a SWT widget off screen and scape graphics? [message #444149] Thu, 07 October 2004 20:04
Sean Neeley is currently offline Sean NeeleyFriend
Messages: 22
Registered: July 2009
Junior Member
How do you do it?

I'm designing a SWT user interface builder using GEF. My original
approach was to create the SWT control over the top of a lightweight
IFigure of the same size and position, scrape the graphics, then destroy
the SWT control, then paint the IFigure with the image of the SWT
control. The only problem is, if half of the SWT widget is past the
edge of the shell when I scrape the graphics, I end up with garbage on
the half of the image where the widget was offscreen. I tried creating
the SWT widget in a new shell that was positioned off screen, but when I
scrape the graphics, I get nothing. Is this possible somehow? I've
seen several posts eluding to this, but I've been unable to figure out
how to do it.

Thank you.
- Sean
Previous Topic:Bug 72320: SWT Fails to load ActiveX control with error -2147467262
Next Topic:application for pocket PC
Goto Forum:

Current Time: Sat Oct 24 10:03:59 GMT 2020

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

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

Back to the top