Hi Manan, can you please let me know, if the repeating implementation of resource ActioDef (kSDKDefActionResourceID) as below is correct, or how the two menus + action should be coded? The code below is trowing the error R32655: # Warning: Duplicate resource: (000001fb)200. Using the first one. resource ActionDef (kSDKDefActionResourceID) { { //For Top-Menu USF //USF-About-Submenu kUIEMnuUSFActionComponentBoss, kUIEMnuUSFAboutMenuItemActionID, kUIEMnuUSFAboutMenuItemKey, kOtherActionArea, // Area name (see ActionDefs.h). kNormalAction, // Type of action (see ActionDefs.h). kDisableIfLowMem, // Enabling type (see ActionDefs.h). kInvalidInterfaceID, // Selection InterfaceID this action cares about or kInvalidInterfaceID. kSDKDefInvisibleInKBSCEditorFlag, // kSDKDefVisibleInKBSCEditorFlag or kSDKDefInvisibleInKBSCEditorFlag. //USF-FD-Sub-Menu kUIEMnuUSFActionComponentBoss, kUIEMnuUSFFDMenuItemActionID, kUIEMnuUSFFDMenuItemKey, // Key to the name of this action kOtherActionArea, kNormalAction, kDisableIfLowMem, kInvalidInterfaceID, kSDKDefInvisibleInKBSCEditorFlag, //USF-Cancel-Sub-Menu kUIEMnuUSFActionComponentBoss, kUIEMnuUSFCancelMenuItemActionID, kUIEMnuUSFCancelMenuItemKey, // Key to the name of this action kOtherActionArea, kNormalAction, kDisableIfLowMem, kInvalidInterfaceID, kSDKDefInvisibleInKBSCEditorFlag, } }; //ActionDefs for DocWch resource ActionDef (kSDKDefActionResourceID) { { kDocWchActionComponentBoss, // ClassID of boss class that implements the ActionID. kDocWchAboutActionID, // ActionID. kDocWchAboutMenuKey, // Sub-menu string. kHelpMenuActionArea, // Area name (see ActionDefs.h). kNormalAction, // Type of action (see ActionDefs.h). kDisableIfLowMem, // Enabling type (see ActionDefs.h). kInvalidInterfaceID, // Selection InterfaceID this action cares about or kInvalidInterfaceID. kSDKDefInvisibleInKBSCEditorFlag, // kSDKDefVisibleInKBSCEditorFlag or kSDKDefInvisibleInKBSCEditorFlag. kDocWchActionComponentBoss, kDocWchUseResponderActionID, kDocWchUseResponderMenuItemKey, kOtherActionArea, kNormalAction, kCustomEnabling|kDisableIfLowMem, kInvalidInterfaceID, kSDKDefInvisibleInKBSCEditorFlag, } };//End ActionDefs for DocWch
... View more