hijolin Posted August 18, 2007 Posted August 18, 2007 (edited) how turn off desk Auto Arrange?? #include <A3LWinAPI.au3> $hList = ControlGetHandle("Program Manager","","SysListView321") $dwStyle = _API_GetWindowLong($hList, $GWL_STYLE ) $dwStyle = $dwStyle & " ~LVS_AUTOARRANGE" _API_SetWindowLong($hList, $GWL_STYLE , $dwStyle) but no turn off desk Auto Arrange help me Edited August 18, 2007 by hijolin
Zedna Posted August 19, 2007 Posted August 19, 2007 (edited) #include <A3LWinAPI.au3> Const $LVS_AUTOARRANGE = 0x00000100 $hList = ControlGetHandle("Program Manager","","SysListView321") $dwStyle = _API_GetWindowLong($hList, $GWL_STYLE ) _API_SetWindowLong($hList, $GWL_STYLE , BitOr($dwStyle,$LVS_AUTOARRANGE))EDIT:this is for turn ONfor turn OFF you must use similar Bitxx functions Edited August 19, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search
hijolin Posted August 19, 2007 Author Posted August 19, 2007 (edited) 3q Edited August 19, 2007 by hijolin
Zedna Posted August 19, 2007 Posted August 19, 2007 Not tested: #include <A3LWinAPI.au3> Const $LVS_AUTOARRANGE = 0x00000100 $hList = ControlGetHandle("Program Manager","","SysListView321") $dwStyle = _API_GetWindowLong($hList, $GWL_STYLE ) _API_SetWindowLong($hList, $GWL_STYLE , BitAnd($dwStyle,BitNot($LVS_AUTOARRANGE))) Resources UDF ResourcesEx UDF AutoIt Forum Search
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now