再问一个,各位帮忙!(50分)

  • 主题发起人 主题发起人 歪就歪
  • 开始时间 开始时间

歪就歪

Unregistered / Unconfirmed
GUEST, unregistred user!
如何用程序设置Desktop(Windows的桌面)上的AutoArange
谢谢!
 
气我?!
 
what is AutoArange???
 
TIconOptions.AutoArrange
Determines if icons in a list view are automatically rearranged when a list item is added, removed, or moved.
property AutoArrange: Boolean;
Description
Set AutoArrange to specify whether the list view object should rearrange its items whenever changes are made. If AutoArrange is True, the icons are automatically arranged. If AutoArrange is False, the icons are not arranged until the Arrange method of the list view is called.
 

SetWindowLong(wnd,GWL_STYLE,(GetWindowLong(wnd,GWL_STYLE)
and not LVS_TYPEMASK) or LVS_AUTOARANGE);
wnd是Desktop的ListViewHandle;
没试过。
 
谢谢大家!
 
后退
顶部