API 文件集 > Miscellaneous > Object ProCombstate > Function ProCombstateActivate
Function ProCombstateActivate
Description
Activates a combined state. The owner of the combined state must be top model in current active window. Otherwise error will be returned.
Replacement in Object TOOLKIT:
Synopsis
#include <ProCombstate.h>
ProCombstateActivate
(
ProCombstate* cs_item
/* (In)
pointer to a combined state item to be activated.
*/
)
Returns
Combined state Activated.
Invalid combined state item. Model passed in cs_item is NULL, or the type of the item is not of PRO_COMBINED_STATE.
No such combined states in the specified model.
The model in cs_item->owner is not a top model in current active window.
User Guide References
這是否有幫助?