|
Re: Off-screen Shell or Display? [message #460618 is a reply to message #460617] |
Thu, 01 September 2005 15:50 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"Jonathan Edwards" <edwards@csail.mit.edu> wrote in message
news:df76ao$kk8$1@news.eclipse.org...
> Is there any way in SWT to create a Shell or Display that is off-screen,
> so that standard SWT controls draw to memory instead of the screen? For
> example to create thumbnails in a visual GUI builder.
>
No (and Yes).
You can create shells or controls off screen, but SWT does not support
drawing these widgets to an Image.
That being said, there are platform-specific solutions which are available.
Check the VE newsgroup.
---
Sunil
|
|
|
|
Re: Off-screen Shell or Display? [message #460627 is a reply to message #460625] |
Thu, 01 September 2005 20:02 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
"Randy Hudson" <none@us.ibm.com> wrote in message
news:df7ko6$8tl$1@news.eclipse.org...
>> No (and Yes).
>> You can create shells or controls off screen, but SWT does not support
>> drawing these widgets to an Image.
>
> Well, the API exists, but whether it actually works on all platforms and
> when controls are clipped is another issue. I think the VE doesn't use any
> tricks on win32.
>
VE uses SendMessage() with WM_PRINT on Windows.
VE uses native code on linux/GTK as well to do image capture.
---
Sunil
>> That being said, there are platform-specific solutions which are
>> available. Check the VE newsgroup.
>> ---
>> Sunil
>>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03213 seconds