Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Demon5263

macrumors newbie
Original poster
May 12, 2011
6
0
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!
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.