get_icon — 查询区域输出图标。
get_icon( : Icon : WindowHandle : )
get_icon queries the icon that was set with
set_icon。
Icon (输出对象) region → object
Icon for the regions center of gravity.
WindowHandle (输入控制) window → (handle)
窗口句柄。
/* draw a region and an icon. */ /* set it and get it again. */ T_draw_region(&Region,WindowHandle); T_draw_region(&Icon,WindowHandle); set_icon(Icon); create_tuple_s(&icon,"icon"); T_set_shape(WindowHandle,icon); destroy_tuple(icon); T_disp_region(Region,WindowHandle); get_icon(&OldIcon); T_disp_region(OldIcon,WindowHandle);
get_icon 始终返回 2 ( H_MSG_TRUE )。
基础