How do i get it to where when i click a button the window changes inside the main frame??

If you have ever seen WinMX thats what i'm talking about.


THANKS!