Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Screen Capture Win32 Window
Screen Capture Win32 Window [message #451974] Fri, 11 March 2005 17:42 Go to next message
Eclipse UserFriend
Originally posted by: Abhinav.Vohra.siebel.com

Is possible to screen capture a window given its HWND? How? Would I be
able to do this even if i have the window sitting off screen?
Re: Screen Capture Win32 Window [message #451975 is a reply to message #451974] Fri, 11 March 2005 17:51 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
See:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet95.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup

Only the visible parts of the widget will be captured.

"Abhinav Vohra" <Abhinav.Vohra@siebel.com> wrote in message
news:d0slap$ul1$1@www.eclipse.org...
> Is possible to screen capture a window given its HWND? How? Would I be
> able to do this even if i have the window sitting off screen?
Re: Screen Capture Win32 Window [message #451987 is a reply to message #451975] Sat, 12 March 2005 00:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Abhinav.Vohra.siebel.com

Veronika Irvine wrote:
> See:
>
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet95.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup
>
> Only the visible parts of the widget will be captured.
>
> "Abhinav Vohra" <Abhinav.Vohra@siebel.com> wrote in message
> news:d0slap$ul1$1@www.eclipse.org...
>
>>Is possible to screen capture a window given its HWND? How? Would I be
>>able to do this even if i have the window sitting off screen?
>
>
>

If the window has to be visible how does the swt-designer and ve project
editors screen scrape without the window showing?

Abhinav
Re: Screen Capture Win32 Window [message #451992 is a reply to message #451987] Sat, 12 March 2005 14:43 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 396
Registered: July 2009
Senior Member
Abhinav Vohra wrote:
>>> Is possible to screen capture a window given its HWND? How? Would I
>>> be able to do this even if i have the window sitting off screen?
>>
>>
>>
>>
>
> If the window has to be visible how does the swt-designer and ve project
> editors screen scrape without the window showing?
>
> Abhinav

Here's VE's implementation for Windows:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ve.swt/ vm_swt/org/eclipse/ve/internal/swt/targetvm/win32/ImageCaptu re.java?rev=1.4&content-type=text/vnd.viewcvs-markup& ;cvsroot=Tools_Project

Hope this helps,

- Jeff
Previous Topic:TableColumn: setImage does not work correctly
Next Topic:Image scaling does not work
Goto Forum:
  


Current Time: Thu Apr 25 15:14:51 GMT 2024

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

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

Back to the top