I have a dockbar with some buttons on it, when the button clicked, the dockbar get the focus,
Is there a program method changing the focus to rhino vieIw window when button clicked?
Hi @chen_manhong,
In C++, you can do this:
::SetFocus(RhinoApp().MainWnd());
In C#, you can do this:
RhinoApp.SetFocusToMainWindow();
– Dale
Thank you Dale