CAA多个命令添加到工具栏

CATCmdContainer * CAAMyCompnt::CreateToolbars() { 
NewAccess(CATCmdContainer,pCAAAfrOperationTlb,
PartWork);  
NewAccess(CATCmdStarter,pCAAAfrTUnionStr, 
CAAAfrTUnionStr); 
      SetAccessCommand(pCAAAfrTUnionStr,"零件"); 
SetAccessChild(pCAAAfrOperationTlb,pCAAAfr
TUnionStr); 
NewAccess(CATCmdStarter,pCAAAfrTSubstractS
tr,CAAAfrTSubstractStr); 
      SetAccessCommand(pCAAAfrTSubstractStr, 
"检验"); 
SetAccessNext(pCAAAfrTUnionStr,pCAAAfrTSub
stractStr); 
 
AddToolbarView(pCAAAfrOperationTlb,-1,Right); 
 // Invisible toolbar 
return pCAAAfrOperationTlb  }


你可能感兴趣的:(CAA多个命令添加到工具栏)