Jump to content

Recommended Posts

Posted (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 by hijolin
Posted (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 ON

for turn OFF you must use similar Bitxx functions

Edited by Zedna

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...