早教吧作业答案频道 -->英语-->
问个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...的网友还看了以下:
设{W(t),t>=0}是参数为d的平方的(打不出来那个方差的符号,W(t)-aW(t-h)t>= 2020-05-13 …
matlab参数方程绘图问题t=0:pi/1000:3*pi k=fix(2*t/pi)+1; y 2020-05-16 …
线性变换相关问题有线性变换T假设T^nX=T(T(T(...T(X)..)))设X为线性空间内一向 2020-05-17 …
刘老师,您好。有种类型的题目一直没弄懂。是关于基的问题已知α1=(1,1,1)T,α2=(0,1, 2020-06-23 …
二次型的化标准型的问题!设XTAX=x1^2+4*x2^2+x3^2+2aX1X2+2bX1X3+ 2020-07-31 …
定义法求y=(sinx)^2的周期书上是(sin(x+T))^2-(sinx)^2=0((sin( 2020-08-02 …
设3阶矩阵A有两重特征值a1,...,都是对应于a1的特征向量,问A可否对角化设3阶矩阵A有两重特征 2020-10-31 …
线性代数高手来看这个简单的问题已知任意不等于0的x,使得A(x)^T*(Bx)+B(x)^T*(AX 2020-11-03 …
f(t)=t^2+t+1(t>0),则f(t)=(t+1/2)^2+3/4在(0,+∞)上为增函数. 2020-11-07 …
得到一个很诡异的东东:0=∞为什么?根据物理热量的公式当R=0时Q1=IRt=I×0×t=0Q2=U 2021-01-04 …