Skip to main content
jochens5907408
Known Participant
February 1, 2017
Question

handle the kSaveActionID

  • February 1, 2017
  • 0 replies
  • 725 views

We've build a Plug-In, which is loading a production order XML and is setting the beonding box of the document opened wit SDKHelper.

Now we need th signal of the hit of the File:Save menu.

It seems that the ActionID of the Save-Menu is kSaveActionID.

We've a MenuManager for setting a additional menu to the standard menu bar.

The handling of these sub menus is working well.

We'e coded a line: PMString ActionName = MenuManager->getActionName(kSaveActionID);, but ActionName is blank.

Additionally we'e implemented  a further line: MenuManager->HandleMenuHit(kSaveActionID); and have added the switch case for kSaveActionID to our ActionComponent, which is handling our own ActionID's well. But the message from the kSaveActionID switch case is never shown, whwn selecting the Save-submenu from the File-Menu.

How to handle  the kSaveActionID at a Plug-In?

Jochen Seliger

This topic has been closed for replies.