• 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
simulating a sheet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

simulating a sheet?


  • Subject: simulating a sheet?
  • From: Dave Yost <email@hidden>
  • Date: Wed, 23 Apr 2003 16:47:18 -0700

For weird reasons, not to violate guidelines, I am trying to simulate a sheet. First I tried positioning a borderless window just right, setting its height to, then setting its height to full size. Works almost OK, except that the 'sheet' window is resizing as its title bar exists and is transparent. In other words, it grows down from the top of the parent window's title bar (look OK when it's done resizing, tho).

Then I tried making a window whose opacity is 0, then moving an NSView down into it. The window is opaque anyway, and I don't relish animating the move by hand (isn't there code somewhere to allow moving a view using Cocoa's ease-in/ease-out motion code?).

Anyone done this?

Thanks

Dave
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: simulating a sheet?
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: screensaver madness...
  • Next by Date: Re: simulating a sheet?
  • Previous by thread: Re: WebObjects vs COCOA app
  • Next by thread: Re: simulating a sheet?
  • Index(es):
    • Date
    • Thread