How to define a help call to a URL (website)?

How to define a help call to a URL (website)?

maisoui
Advocate Advocate
835 Views
3 Replies
Message 1 of 4

How to define a help call to a URL (website)?

maisoui
Advocate
Advocate

Hi,

 

I'd like to define a help call for all my commands to my online documentation.In other words, I don't use CHM files, and I'd like to know how use API function acedSetFunHelp with a link to a website and not a CHM?

 

I also raises the question whether one function will also define the behavior of F1 button in the ribbon?

 

Regards,

Jonathan

 

--
Jonathan
0 Likes
Accepted solutions (1)
836 Views
3 Replies
Replies (3)
Message 2 of 4

fenton_webb
Autodesk
Autodesk
Accepted solution

If I remember correctly, calling a Webpage directly is something like this:

 

acedSetFunHelp(_T("MyCOMMAND"),_T(http://mywebsite.com/MyCommandHelp.htm),_T(""), 0) or

 

Calling a Webpage directly, with an HTML anchor

 

acedSetFunHelp(_T("MyCOMMAND"),_T(http://mywebsite.com/MyProductPage.htm),_T("#MyCommandTopic"), 0) or




Fenton Webb
AutoCAD Engineering
Autodesk

0 Likes
Message 3 of 4

maisoui
Advocate
Advocate

Thank you for your interesting answer. I tested with a URL like this : http://www.mywebsite.com/mycommand/mysection and it didn't work. It seems that if the URL ends with .htm, it works. Do you have more details about that?

 

Another question: Do you know how to tell AutoCAD to use the default browser and not IE?

 

Regards,

Jonathan

 

--
Jonathan
0 Likes
Message 4 of 4

fenton_webb
Autodesk
Autodesk

I believe that's a Windows registry entry, not an AutoCAD one...Basically setting the default browser... Google will help with this one for you.




Fenton Webb
AutoCAD Engineering
Autodesk

0 Likes