BOOL Create( UINT nBitmapID, int cx, int nGrow, COLORREF crMask );
参数中为什么没有CY?
COLORREF crMask 
Color used to generate a mask. Each pixel of this color in the specified bitmap is changed to black, and the corresponding bit in the mask is set to one.
我不太理解,帮我解释一下!!

解决方案 »

  1.   

    可以用多种方法创建CImageList类的实例,以下是较常用的两个Create函数原型BOOL Create( int cx, int cy, UINT nFlags, int nInitial, int nGrow );BOOL Create( UINT nBitmapID, int cx, int nGrow, COLORREF crMask );参数:
    cx      :定义图像的宽度,单位为象素;
    cy      :定义图象的高度,单位为象素;
    nFlags  :确定建立图像列表的类型,可以是以下值的组合:
              ILC_COLOR、ILC_COLOR4、ILC_COLOR8、ILC_COLOR16、
              ILC_COLOR24、ILC_COLOR32、ILC_COLORDDB和ILC_MASK;
    nInitial:用来确定图像列表包含的图像数量;
    nGrow   :用来确定图像列表可控制的图像数量
    crMask  :表示颜色屏蔽位详细参见
    http://www.vckbase.com/study/article/common_ctrl/imagelist.htm
      

  2.   

    那个网页大不开呀!
    如果你有这方面资料,请发给我!
    [email protected]
    我给50分!!
      

  3.   

    http://www.cpcw.com/1999/09/99091302.html