Show/Hide FrameMaker Toolbar with FDK10 API client
Hi,
I'veimplemented a custom FrameMaker ToolBar (as MyToolBar.xml file) with somepopular FM Menu commands contained.
And I’veassigned "kbd-shortcut" for MyToolBar to "\!Vh" (Esc V h).
It worksfine. i.e. my Toolbar displays (or hides) when I type the [Esc V h] key sequence manually.
How should I execute this key sequence programmatically in FDK10 client with FrameMaker 10?
I tried tosolve this issue using F_ApiFcodes FDK function as follows:
I specified the following sequence of keys
...
static IntT fcodes[] = {'\\!','V','h'};
. . .
and then ran
F_ApiFcodes(sizeof(fcodes)/sizeof(IntT),fcodes);
. . .
However, I got “No expression selected in an equation” FrameMaker message and symbols"V" &"h" printed in the document.
Please advise.
Thanks,
Andrey
