Mac Window Morph Effect

Discussion in 'Mac Programming' started by Demon5263, May 12, 2011.

  1. Demon5263, May 12, 2011
    Last edited: May 12, 2011

    macrumors newbie

    Joined:
    May 12, 2011
    #1
    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:

    Code:
    - (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!
     

Share This Page