列の属性を取得します。
#Include <GuiListView.au3>
_GUICtrlListView_GetColumn($hWnd, $iIndex)
パラメータ
| $hWnd | コントロールのハンドル | 
| $iIndex | 列のゼロ始まりのインデックス | 
返し値
次のフォーマットの配列を返します。
注意
なし。
関連
_GUICtrlListView_SetColumn, _GUICtrlListView_JustifyColumn
例
#AutoIt3Wrapper_au3check_parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6
#include <GuiConstantsEx.au3>
#include <GuiListView.au3>
Opt('MustDeclareVars', 1)
$Debug_LV = False ; ListView関数に渡されるClassNameを調べる。動作を確認するにはTrueを設定し、他のコントロールのハンドルを使用
_Main()
Func _Main()
    Local $aInfo, $hListView
    
    GUICreate("ListView Get Column", 400, 300)
    $hListView = GUICtrlCreateListView("col1|col2|col3", 2, 2, 394, 268)
    _GUICtrlListView_SetExtendedListViewStyle($hListView, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_CHECKBOXES))
    _GUICtrlListView_SetColumnWidth($hListView, 0, 100)
    GUISetState()
    
    GUICtrlCreateListViewItem("index 0|data1|more1", $hListView)
    GUICtrlCreateListViewItem("index 1|data2|more2", $hListView)
    GUICtrlCreateListViewItem("index 2|data3|more3", $hListView)
    GUICtrlCreateListViewItem("index 3|data4|more4", $hListView)
    GUICtrlCreateListViewItem("index 4|data5|more5", $hListView)
    
    ; 列を変更
    $aInfo = _GUICtrlListView_GetColumn($hListView, 0)
    MsgBox(4160, "Information", "Column 1 Width: " & $aInfo[4])
    _GUICtrlListView_SetColumn($hListView, 0, "New Column 1", 150)
    $aInfo = _GUICtrlListView_GetColumn($hListView, 0)
    MsgBox(4160, "Information", "Column 1 Width: " & $aInfo[4])
    ; ユーザーが終了するまでループ
    Do
    Until GUIGetMsg() = $GUI_EVENT_CLOSE
    GUIDelete()
EndFunc   ;==>_Main