Posted on 2009-04-27
I recently converted an application from NET 1.1 to NET 2.0. Among the many changes that were expected is one that I am having a little challenge overcoming. It is probably fairly simple to fix, but I cannot figure it out right now. My application is NOT an MDI application, but is uses multiple forms. One of the forms works as a ToolBar. It had a ToolBar and MainMenu(now ToolStrip and MenuStrip). Previously, if I was working on one form and go to click a menuitem or toolbar button on the other form, it would select on the first click. Now it is like you have to click once to focus the form and another time to select you control. I found a solution earlier that uses the mouse_hover event to set focus, but I do not want the focus transferred to the other form until the user clicks. Any suggestions on how to accomplish the behavior I was getting in NET 1.1???