怎么控制ListView图标之间的距离
1个回答
展开全部
好像这个消息没用,commtrl单元里的
// -1 for cx and cy means we 'll use the default (system settings)
// 0 for cx or cy means use the current setting (allows you to change just one param)
{$EXTERNALSYM ListView_SetIconSpacing}
function ListView_SetIconSpacing(hwndLV: HWND; cx, cy: Word): DWORD;
还是通过改变ImageList的Height跟Width属性
// -1 for cx and cy means we 'll use the default (system settings)
// 0 for cx or cy means use the current setting (allows you to change just one param)
{$EXTERNALSYM ListView_SetIconSpacing}
function ListView_SetIconSpacing(hwndLV: HWND; cx, cy: Word): DWORD;
还是通过改变ImageList的Height跟Width属性
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询