Re: simulating a sheet?
Re: simulating a sheet?
- Subject: Re: simulating a sheet?
- From: Dave Yost <email@hidden>
- Date: Wed, 23 Apr 2003 19:44:17 -0700
At 5:46 PM -0700 2003-04-23, John C. Randolph wrote:
>
On Wednesday, April 23, 2003, at 04:47 PM, Dave Yost wrote:
>
>
>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?
>
>
I don't get why you're simulating a sheet, instead of just using a sheet.
It's for a tutorial, in which there is a window on top of the sheet which can contain transparent graphics that points at and circles things in the sheet, and this other window needs to handle events.
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.