早教吧作业答案频道 -->英语-->
问个VC中cimagelist的问题mimagelist.Create(32,32,ILCCOLOR32|ILCMASK,0,0)这样一句话中,最后两个参数0,0有什么含义吗?不是很明白.
题目详情
问个VC中cimagelist的问题
m_imagelist.Create(32,32,ILC_COLOR32|ILC_MASK,0,0)
这样一句话中,最后两个参数0,0有什么含义吗?不是很明白.
m_imagelist.Create(32,32,ILC_COLOR32|ILC_MASK,0,0)
这样一句话中,最后两个参数0,0有什么含义吗?不是很明白.
▼优质解答
答案和解析
看一下MSDN便知,cimagelist::Create()函数共有5种重载形式,你用的是BOOL Create( int cx, int cy, UINT nFlags, int nInitial, int nGrow )这种.其中nInitial的解释是Number of images that the image list initially contains,大意应该是“最初列出的图像张数”;nGrow的解释是
Number of images by which the image list can grow when the system needs to resize the list to make room for new images. This parameter represents the number of new images the resized image list can contain,大意应该是“图像的图像列表可以增长时,系统需要调整,以腾出空间给新的图像列表的数目.此参数表示新的图像调整大小的图像列表可以包含的数量”.
Number of images by which the image list can grow when the system needs to resize the list to make room for new images. This parameter represents the number of new images the resized image list can contain,大意应该是“图像的图像列表可以增长时,系统需要调整,以腾出空间给新的图像列表的数目.此参数表示新的图像调整大小的图像列表可以包含的数量”.
看了 问个VC中cimagelis...的网友还看了以下:
对于复数Z1=m(m-1﹚﹢﹙m-﹚i,Z2=﹙m+1﹚﹢﹙m-1﹚i,﹙m∈R﹚大神们帮帮忙对于 2020-04-26 …
all my dreams come round in threes always什么意思?是一句 2020-05-14 …
已知是i,m,n正整数,且1 (1+n)^m第一小问的A(i m)和A(i n)是排列公式,上面i 2020-05-16 …
八年级下册英语.同义句转换.每空一次1.Would you pleased show us the 2020-05-16 …
matlab图像处理,提取图片的高频分量!我是这样写的:function gOK=laplace( 2020-06-27 …
定义在R上的可导函数f(x),其导函数记为f'(x),满足f(x)+f(2-x)=(x-1)2,且 2020-07-16 …
把所有正偶数从小到大排列,并按如下规律分组:(2),(4,6,8),(10,12,14,16,18 2020-07-22 …
19、当一年内复利m次时,其名义利率r与实际利率i之间的关系是(A).A.i=(1r/m)m-1B 2020-07-26 …
(m^2+i)(1+mi)要更仔细的讲解求M?更仔细讲解=m^2+m^3i+i-m=m^2-m+( 2020-07-30 …
已知定义在R上的奇函数f(x)=−2x+b2x+1+a.(1)求a,b的值;(2)若不等式-m2+( 2020-12-07 …