DockableWindow.

DockableWindow.

Anonymous
Not applicable
473 Views
1 Reply
Message 1 of 2

DockableWindow.

Anonymous
Not applicable

I have been trying to convert a working(mostly) addin to dockablewindow. I found one (and only one) sample in c# (wich is what i am using). I finnally got it to show up as a dockable window but when the user presses the "X" on the window it hides, how do you get it back or just let the addin know that the window/form has been closed so that when the user pressed the ribbon button that spawned it can just show it or create a new one?

I have found vary lilttle on dockable windows on Google, Bing...

0 Likes
474 Views
1 Reply
Reply (1)
Message 2 of 2

YuhanZhang
Autodesk
Autodesk

When you create a dockable window there would be an option in a document's View->Windows->User Interface dropdown list for it to show/hide the dockable window. Also you can use the DockableWindowsEvents.OnShow/OnHide to monitor its status change.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes