Change focus to Rhino View window

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:


In C#, you can do this:


– Dale

Thank you Dale