I am currently working on a level editor and am having quite a problem. its not that it is broken but is quite a nuisance and not very 'professional'. I have a main window which hosts the toolbar, statusbar, and main menu. Within this main window is the dbp camera which is attached to a panel. I believe the problem is that the dbp camera is its own seperate window, hence a seperate focus. So whenever i click within the viewport camera to manipulate something, the main window loses focus... is there a way to make this focus behave right? i hope this makes sense.
the viewport is attached to a 'viewport panel' which is a part of the main window. this has not resolved my problem... any ideas?
Thanks.

If at first you dont succeed, call it version 1.0.