I'm working on a C/C++ (PIC-C) editor (something along the lines of MSVC++), and was wondering 1 or 2 things:

1] How would I do the splitter window like what VC has?
2] When the user opens a file, how do I get it show a new window (edit control window)?