I am having some problems with a mdi app that has two children side by side one is a 3dRenderview port and has code that when the mouse is over it to primary loop checks the 3dInput object for key input. (This part works fine) the second window(additional windows) are property windows for setting up rendering options/and textures ect.
My problem is this when I move my mouse over the render window I set focus to that form in an attempt to keep the focus kept on Render window but instead what happens is any keypress event gets passed back to the other window subsiquently shift focus back to the other open window.
I have tried using a keypreview turned on in the render window and placed a set focus back to the render window in the render windows keypress event. But thats not working.
Anyone have any suggestions?
My problem is this when I move my mouse over the render window I set focus to that form in an attempt to keep the focus kept on Render window but instead what happens is any keypress event gets passed back to the other window subsiquently shift focus back to the other open window.
I have tried using a keypreview turned on in the render window and placed a set focus back to the render window in the render windows keypress event. But thats not working.
Anyone have any suggestions?