PDA

View Full Version : Mac Window Morph Effect




Demon5263
May 12, 2011, 03:34 PM
Hello, I am wondering if anyone here can help me out with programming windows for an application.

How do you make it so when you click "button a" in "window a" it will morph into "window b"? Like the current window (window a) will take the shape of the other window (window b) when you press "button a).

I programmed the implementation file like this:

- (IBAction)openTwo:(id)sender {
[twoWindow makeKeyAndOrderFront:self];
}

openTwo = Action
twoWindow = Window B

Which works fine, but how do you make it where the window will take the shape of Window B?

Thanks!