隐藏任务栏中的程序
showwindow(application.handle,sw_hide); //隐藏图标
取消自动对齐和网格对齐
设置为自动对齐和网格对齐
nStyle := GetWindowLong(hand, GWL_STYLE);
nStyle := nStyle or LVS_AUTOARRANGE;
SetWindowLong(hand, GWL_STYLE, nStyle); //自动对齐
nStyle := ListView_GetExtendedListViewStyle(hand);
nStyle := nStyle and (not $80000);
ListView_SetExtendedListViewStyle(hand, nStyle);//对齐到网格
Copyright © 2014 DelphiW.com 开发 源码 文档 技巧 All Rights Reserved
晋ICP备14006235号-8 晋公网安备 14108102000087号
执行时间: 0.036568164825439 seconds