我用CImageList 创建 32*32 大小的框
在 list control 中 只显示 图标 所以将标题 去掉了
但是在排列的时候 图标 左右的间距 可以用 SetIconSpacing 设置 但是 上下两个图标的间距怎么调???还是 让它居中 对齐??
在 list control 中 只显示 图标 所以将标题 去掉了
但是在排列的时候 图标 左右的间距 可以用 SetIconSpacing 设置 但是 上下两个图标的间距怎么调???还是 让它居中 对齐??
CListCtrl::SetIconSpacing
CSize SetIconSpacing( int cx, int cy );CSize SetIconSpacing( CSize size );Return ValueA CSize object containing the previous values for icon spacing.ParameterscxThe distance (in pixels) between icons on the x-axis.cyThe distance (in pixels) between icons on the y-axis.sizeA CSize object specifying the distance (in pixels) between icons on the x- and y-axes.