-
AutoIt
(
http://forum.oszone.net/forumdisplay.php?f=103)
Стили элеметов GUICtrlCreateListViewItem
Привет.
Какой нужно выставить стиль, или расширенный стиль, чтобы элементы GUICtrlCreateListViewItem колонок
распологались в колонках справа, а не слева.
Код:
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
Example()
Func Example()
Local $msg
GUICreate("Изменение стиля")
Local $mlist = GUICtrlCreateListView("Name ", 10, 10, 500, 640)
GUICtrlCreateListViewItem('111', $mlist)
GUICtrlCreateListViewItem('222', $mlist)
GUICtrlSetStyle(-1, $SS_RIGHT)
GUICtrlCreateListViewItem('333', $mlist)
GUISetState()
While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
EndFunc
|
Время: 23:47.
© OSzone.net 2001-