Ets_Showcase_Object_Feature()
摘要
将指定对象添加到 Showcase 的焦点对象集合中。
语法
Ets_Showcase_Object_Feature (showcase_hndl, obj_hndl, do_register_undo)
| 参数 | 类型 | 说明 |
|---|---|---|
showcase_hndl |
EtsT_Showcase_Handle |
目标 Showcase 对象。(若为 PRGC_NIL,则使用当前活动的 Showcase。) |
obj_hndl |
EtsT_Obj_Handle |
要设为焦点的对象。 |
do_register_undo |
EtsT_Boolean |
启用可选的撤销支持。设置为 EtsC_True 时,会保存 Showcase 的初始状态,从而可以撤销对焦点对象的更改。 |
返回类型
EtsT_Compcode
若焦点对象集合发生了更改,返回 EtsC_Compcode_Success;否则返回 EtsC_Compcode_Failure。
头文件
ets_api_showcase.h
详情
无。