Application with multiple focused forms
-
Using Visual Studio 2005, I'm creating an application with floating tool bars similar to that of Photoshop (or most any application with floating tool bars) that share focus amongst each other. I have my tool bars in separate forms, and I call form.Show(ownerForm), to display the toolbar, where ownerForm is the main application's form. The problem is that only one form, the application's main form or the tool bar, can have focus at a time. Is there a property or method I can call to give focus to both the tool bar and the application's main form at the same time? Skip
-
Using Visual Studio 2005, I'm creating an application with floating tool bars similar to that of Photoshop (or most any application with floating tool bars) that share focus amongst each other. I have my tool bars in separate forms, and I call form.Show(ownerForm), to display the toolbar, where ownerForm is the main application's form. The problem is that only one form, the application's main form or the tool bar, can have focus at a time. Is there a property or method I can call to give focus to both the tool bar and the application's main form at the same time? Skip
i think if you develop the toolbar as a usercontrol not as a frame it will give you an advantage. cz if you did it as a user control and add it to the first frame it will be as any normal control in your frame. this will allow you to have a double focus. you can drag and drop from it and ......... i am not very sure about the idea i gave you but i think it will be a starting point for you. good luck