Quantcast
Viewing all articles
Browse latest Browse all 14319

F1 for toolbars

Hi all,

I am trying to add F1 support to our custom commands in .cuix file, so that when the mouse is hovering on a button in ribbon or toolbar and the user presses F1 our help file is opened.

The only way I have found untill now is using the acedSetFunHelp() function when registering the commands (using acedRegCmds->addCommand()) and this works when F1 is pressed while the command is executed or the mouse is over the button in a ribbon, but its not working when the mouse is hovering on the same command in the toolbar.

I have tested F1 behavior also for some of the AutoCAD commands (AutoCAD 2012). Its working for "spline", but not for "line" button, both in a toolbar. For "spline" the help is opened on the page explaning the command, for "line" - on the page for searching in the help.

Is this desired behavior? Am I missing something? Is there other way to assign F1 to a command so it can be accessed through ribbon AND toolbar?

Any help is appreciated.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 14319

Trending Articles