导航:  Classes > CAfxImageList > IAfxImageList Interface >

Remove Method

上一页返回章节概述下一页

描述

 

从图像列表中删除图像。

 

PowerBasic 语法

 

METHOD Remove ( _

BYVAL idx AS LONG _

) AS LONG

 

参数

 

idx

 

[in]要删除的图像的索引。

 

返回值

 

成功返回非零,否则返回0。

 

备注

 

当去除图像时,调整剩余图像的索引,使得图像索引始终在零至一个小于图像列表中的图像数量的范围内。

 

引用文件 #INCLUDE Once

 

CAfxImageList.inc