Re: making an NSView with scrollbars "inactive"
Re: making an NSView with scrollbars "inactive"
- Subject: Re: making an NSView with scrollbars "inactive"
- From: John Stiles <email@hidden>
- Date: Fri, 13 Apr 2007 15:26:09 -0700
You could make another NSWindow and tell it to makeKeyAndOrderFront.
(However, the redraw might not actually take effect until the next
pass through the event loop.)
On Apr 13, 2007, at 3:11 PM, Chris Ryland wrote:
Is there any programmatic way to tell an NSView (in this case, a
WebView) to make any contained scrollbars "inactive looking?"
Something must be happening behind the scenes when an app becomes
non-frontmost, for the scrollbars to take on their inactive look.
Digging around in the docs and Google isn't helping.
(I realize this is not something one should normally do, but it's
actually just for the purposes (purpi?) of taking a screen shot of
a currently-active WebView in such a way that it looks inactive; so
it'd be a set-inactive/screenshort/set-active transaction.)
Thanks for any ideas.
Cheers!
--Chris Ryland / Em Software, Inc. / www.emsoftware.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40blizzard.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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