By Adam Nagy
When the user hovers over a ribbon button then the tooltip that pops up says "Press F1 for more help". I would like to change the help file and topic that is shown when the user presses F1 while the tooltip is displayed.
You can use acedSetFunHelp() from ARX or P/Invoke it from .NET:
// In case of AutoCAD 2013 and above
// replace "acad.exe" with "accore.dll"
[DllImport("acad.exe", CharSet = CharSet.Auto,
CallingConvention = CallingConvention.Cdecl,
EntryPoint = "acedSetFunHelp")]
private static extern int acedSetFunHelp(
static public void Cmd1()
acedSetFunHelp("C:LINE", "acad_acg.chm", "ACG.01.008", 0);
This only has effect for the current AutoCAD session and is not persisted in the CUIx file.
This and other ToolTip related settings cannot be changed at the moment using the CUI API for AutoCAD.Customization.Macro.ToolTip is internal.