Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dockable Window Help Button

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
rjay75
874 Views, 6 Replies

Dockable Window Help Button

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

6 REPLIES 6
Message 2 of 7
philippe.leefsma
in reply to: rjay75

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

Message 3 of 7
rjay75
in reply to: philippe.leefsma
Message 4 of 7
rjay75
in reply to: philippe.leefsma

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

Message 5 of 7
ekinsb
in reply to: rjay75

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
in reply to: ekinsb

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

Message 7 of 7
philippe.leefsma
in reply to: GeorgK

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report