ObjectARX

Reply
Distinguished Contributor
maisoui
Posts: 127
Registered: ‎12-07-2009
Message 1 of 4 (289 Views)
Accepted Solution

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

289 Views, 3 Replies
02-25-2013 02:50 AM

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
ADN Support Specialist
fenton.webb
Posts: 352
Registered: ‎07-24-2007
Message 2 of 4 (248 Views)

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

02-28-2013 09:40 AM in reply to: maisoui

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

Developer Technical Services

Autodesk Developer Network


Distinguished Contributor
maisoui
Posts: 127
Registered: ‎12-07-2009
Message 3 of 4 (231 Views)

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

02-28-2013 10:55 PM in reply to: fenton.webb

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
ADN Support Specialist
fenton.webb
Posts: 352
Registered: ‎07-24-2007
Message 4 of 4 (158 Views)

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

04-08-2013 03:09 PM in reply to: maisoui

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

Developer Technical Services

Autodesk Developer Network


You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community