toolwindow.Activate() without stealing focus

Docking/MDI for Windows Forms Forum

Posted 19 years ago by Ty Oh - AgileSoftware
We have just purchased UIStudio today and the entire team is ecstatic to start developing.

I've asked a similar question yesterday regarding creating document windows without stealing focus. Your support reply was phenomenal. We have another need to show toolwindows in AutoHide state to appear without stealing focus. Would it be possible to do something similar having an overload for method Activate that accepts a boolean parameter deciding whether to focus or not.

We have a situation where users can AutoHide their CTI Softphone. It would be excellent if it can appear when there's a incoming call without stealing focus.


Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Hi there... actually we put the Activate overload on the base class for both document and tool windows so it works for both. This code works for auto-hide:
ToolWindow toolWindow = new ToolWindow(dockManager, "test", "test", -1, null);
toolWindow.State = ToolWindowState.AutoHide;
I'll e-mail you today with a link for testing out the next maintentance release's pre-release.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.