隐藏、显示对象用UF_OBJ_set_blank_status()
查看对象显示情况用UF_OBJ_ask_display_properties()
效果:
源码:
#include "Text.h"
extern DllExport void ufusr(char *param, int *returnCode, int rlen)
{
UF_initialize();
tag_t tagBody = 44754;
uc1601("即将隐藏", 1);
UF_OBJ_set_blank_status(tagBody, UF_OBJ_BLANKED);
UF_OBJ_disp_props_t disp_props0;
UF_OBJ_ask_display_properties(tagBody, &disp_props0);
if (disp_props0.blank_status == UF_OBJ_BLANK