AfrFoundation Global Function CATAfrCreateCommandHeader


CATAfrCreateCommandHeader( iCommandHeaderId)
Creates a command header.
Role: This function creates a command header from an official V5 command header. You can find the reusable command headers in the corresponding CAA documentation. After calling this service the identifier can be used in a toolbar or in a menu to give an access to the corresponding command.
Parameters:
iCommandHeaderId
The identifier of the Command Header. Only identifiers which are documented in any CAA documentation can be used.
Returns:
S_OK
the service has succeeded and the command header was created
S_FALSE
the service has succeeded but no command header was created because it already existed
E_NOTIMPL
the service has failed because the identifier is not an authorized command header identifier
E_FAIL
the service has failed because a licensing control fails
E_UNEXPECTED
the service has failed because another error has occurred

This object is included in the file: CATAfrCommandHeader.h

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.