CODOrderCommand Class
class CODOrderCommand: public CODIndexedCommand
Changes the z-order of components in a model. The z-order determines the order in which the diagram components are drawn. The components drawn first will appear like they are behind the components drawn later.Defined in: OdOrderCmd.h
Class Members
CODOrderCommand(CODModel* pModel)
Constructor.
virtual ~CODOrderCommand()
Destructor.
OD_ORDER m_nOrder
The type of ordering this command is performing.
OD_ORDER GetOrder() const
Gets the order type.
void SetOrder(const OD_ORDER nOrder)
Sets the order type.
virtual BOOL Execute()
Change the order of the components.
virtual BOOL Unexecute()
Restore the components to their previous places in the z-order.
virtual sfl::MvcCommand* Dup() const
Make a copy of this command.
virtual void Sprint(CString& strCmd)
Print information on this command for logging purposes.