m_imagelist.Create(THUMWIDTH, THUMHEIGHT, ILC_COLOR32, 0, 1);BOOL Create( int cx, int cy, UINT nFlags, int nInitial, int nGrow );这两个参数到底是什么意思,一直不懂:
nInitial
nGrow
我试着设不同的值,没发现有什么区别,那位大虾能否具体解释一下,谢谢!
nInitial
nGrow
我试着设不同的值,没发现有什么区别,那位大虾能否具体解释一下,谢谢!
解决方案 »
- 两个进程共享string
- 用C++做双显卡编程,如何实现,谢谢
- 用MFC的Dialog写个登录界面对话框的程序
- 继承CStatic,做动画类,创建两个实例,这两个实例有重叠。为何下面的有时也显示出来呢。
- vc怎么自定义List控件 的Click事件
- 如何高效地得到屏幕可见区域,占整个屏幕的百分比?来者有分
- WebBrower 独占Excel问题
- 为何在基于对话框的程序中调用CSocket::Create就出错,在formview里则没问题?
- 怎样灰化主菜单的某一个子菜单项???应该写在什么地方合适???如果写在OnCreate中GetParentFrame()->GetMenu(),返回空,出错???
- 调用AfxBeginThread函数为什么返回NULL?
- 关于 try {} catch(...){} 的问题,请帮忙!
- 高高手请进,帮帮忙!!
Number of images that the image list initially contains.
image list 初始含有的image的数量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.
nGrow 当需要改变列表大小时,允许扩大到的image数量。