• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: making an NSView with scrollbars "inactive"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >making an NSView with scrollbars "inactive" (From: Chris Ryland <email@hidden>)

  • Prev by Date: making an NSView with scrollbars "inactive"
  • Next by Date: Bindings, and Core Image
  • Previous by thread: making an NSView with scrollbars "inactive"
  • Next by thread: Re: making an NSView with scrollbars "inactive"
  • Index(es):
    • Date
    • Thread