• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Getting Live Screenshots of Applications (Windows) through JNA

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Had to come over to the friendlier side of the Internet since my question was downvoted immediately after posting in SO. :c

How would I go about grabbing the live image of an application in Windows via Windows API in JNA? I'm able to utilize a java.awt.robot object to grab screenshots of windows using its position and size supplied through JNA. However, what if a window is minimized?

I know Windows does this internally with its taskbar hover and Google+ Hangouts is able to screen-share minimized or covered windows.

The use of JNA is still kind of foreign to me, as much explanation as you could spare would be awesome!

Thanks!
echospot
 
Kevin Thorne
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://stackoverflow.com/questions/4433994/java-window-image/4682351#4682351 -- answer here
 
Marshal
Posts: 76442
366
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well done finding it and let's be friendly



Welcome to the Ranch
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic