Four dipsplay Window

Maybe others will have more patience to lead you through all the steps of building an image viewer application from scratch. I would just suggest you to study open-source VTK-based applications that already do everything that you need - MPR, 4-up views, image reslicing, volume rendering, etc. - there are many of those.