Capturing active state
Capturing active state
- Subject: Capturing active state
- From: Srinivas Prabhu G <email@hidden>
- Date: Sun, 12 Jul 2009 20:49:32 +0530
Hi All,
I am working on application where there is feature to capture screen
snap
same as apples grab. In this user can select a region and can capture
selected area as image. We have used a approach where selection is
drawn on a transparent
window and we capture the image by reading the data from frame buffer.
But the problem here is, as our application is active, when we read
image from the frame
buffer states of all other apps look disabled ie. scroller and
buttons have greyish shade
instead of blue.
Similar problem is observed in SonOfGrab Apple sample application.
(http://devworld.apple.com/samplecode/SonOfGrab/index.html)
Is there any workaround to capture the active state of all the windows
in desktop?
Thanks in advance,
Srinivas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden