Ok, here is the problem, I have made myself a modeless dialog box in my 3ds modelviewer project. However, when I run the program, even if I exit the dialog box, I cannot regain control of the main window, how can I do this?