Dockable Window Help Button

Dockable Window Help Button

rjay75
Collaborator Collaborator
1,098 Views
6 Replies
Message 1 of 7

Dockable Window Help Button

rjay75
Collaborator
Collaborator

Is there a way to customize the action or target of the help button in a dockable window?

0 Likes
Accepted solutions (2)
1,099 Views
6 Replies
Replies (6)
Message 2 of 7

philippe.leefsma
Alumni
Alumni
Accepted solution

Hi Rodney,

 

Did you look at "DockableWindowsEvents.OnHelp Event", this should allow you to perform custom action when the dockable window help button is hit by user.

 

Regards,

Philippe.

______________________________________________________________

If my post answers your question, please click the "Accept as Solution"

button. This helps everyone find answers more quickly!

 



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 4 of 7

rjay75
Collaborator
Collaborator

Is there an example of this anywhere. I have wired up the OnHelp event but it doesn't seem to ever fire.

0 Likes
Message 5 of 7

ekinsb
Alumni
Alumni
Accepted solution

Attached is a simple C# program that demonstrates creating a dockable window and handling the OnShow, OnHide, and OnHelp events for the window.  It's a minimal set of code but hopefully it's fairly obvious from here what you need to do in the event handlers.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 6 of 7

GeorgK
Advisor
Advisor

Is there a sample for Vb.Net? I tried to convert it to VB.Net but it does not run. Thank you. Georg

0 Likes
Message 7 of 7

philippe.leefsma
Alumni
Alumni

Here is a VB.Net sample:

 

http://adndevblog.typepad.com/manufacturing/2012/06/embedding-a-wpf-user-control-in-a-dockablewindow...

 

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

0 Likes