• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Handling KSaveActionID with own ActionComponent

Community Beginner ,
Mar 21, 2017 Mar 21, 2017

Copy link to clipboard

Copied

We have build a PLug-In, which was notifyed abou the selection of the menu item "MAIN:&FILE:&SAVE by catching the kSaveActionID by our own action component two months ago.

But when building that PLUG-IN now the selection of then Save-Menu-Item is no more catched.

We have at our UIC.fr a ActionDef for our kUICMnuUSFActionComponentBoss

which containes:

//IDSave-Menu

        kUICMnuUSFActionComponentBoss,

        kSaveActionID,

        "Save the USF-Production-Order",

        kOtherActionArea,    

        kNormalAction,             

        kDisableIfLowMem,     

        kInvalidInterfaceID,     

        kUICDialogInvisibleFlag,

Our UICMnuUSFActionComponent has a switch at his DoAction(IActiveContext* ac, ActionID actionID, GSysPoint mousePoint, IPMUnknown* widget)

for the actionID and implements a case for kSaveActionID

case kSaveActionID:

But the label of the respective FILE sub item is no more changed and the kSaveAcionID is nor more catched.

The other (own) actionIDs handled by our ActionComponent are still catched.

What could be tha reason for that defect?

Kind regards

Jochen Seliger

Views

359

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation