   [.net] [SOLVED] [C#/MDX] Multiple SDI emulating mouseover focus
  I'm working on an editor for my game, and I have two windows open; a control window which I can use to select objects to add to the map, etc, and a render window which I can use to shift the objects about the map by clicking and dragging.The only problem is that when switching from the render window to the control window, I have to click the control window to focus, then click again to select the button I want to select. I managed to avoid this with MDI, but I really, really don't want to have to use MDI.Is there a way to focus the window, then process the mouse click at the same time? - like photoshop does with their multiple sdi style interface - I don't need to click to focus, then click to select - I can just click once.--Edit:I spent ages on this, then make a post, then five minutes later figure it out :/The solution was simply to call this.Focus() within the mouseenter event.[Edited by - laucian on August 27, 2007 3:20:25 AM]