Posted 20 years ago
by Boyd
-
Sr. Software Developer,
Patterson Consulting, LLC

How do you programmatically attach a ToolWindow to the MDI area? I've tried the following code:
And I get an ApplicationException: The dock operation 'Attach' is not permitted on a target type of 'Manager'
What am I missing? Thanks for the help.
ToolWindow twToolbox = new ToolWindow(dockManager, "TOOLBOX", "Toolbox", null, toolboxPane);
twToolbox.DockTo(dockManager, DockOperationType.Attach);
What am I missing? Thanks for the help.