Recently I’ve been designing more UIs using windows forms and IronPython. The basic method is: make a form with a panel situated on it, add some controls to the panel, and display the dialogue using Rhino.UI.Dialogs.ShowSemiModal. The UI provides the link into some code that can generate geometry, etc.
My question is; it seems like while the dialog is being displayed, it is not possible to interact with the main window in the normal ways, which i gather is an issue of the main window not being in focus. Is there a way to switch focus to the main window when I need to? Or does the concept semi-modal dialog prevent this altogether? I am able to move the camera with my space-mouse, but the normal mouse camera movements are different (Ctrl right-click to zoom, etc), and selecting/interacting with objects is impossible altogther.
If the UI controls i needed were simply buttons, I would consider just putting them into a toolbar, but I need the flexibility of forms to get text boxes that react to other controls, etc. This is not possible with a user-defined toolbar, right? But if I could “dock” the form and use that to keep focus in the main window, that would be perfect.