SyDr
Сидра
- Сообщения
- 651
- Репутация
- 158
Народ, кому не лень, плиз создайте Feature Request на офф трекере.
Тема: "Don't count -1 as special/default param in GUICtrlCreate... with GUICoordMode=0"
Версия: нет
Текст: "Currently there is no way to use -1 as offset in "left", "top" params (works exactly as 0)"
Код:
Тема: "Don't count -1 as special/default param in GUICtrlCreate... with GUICoordMode=0"
Версия: нет
Текст: "Currently there is no way to use -1 as offset in "left", "top" params (works exactly as 0)"
Код:
Код:
#include <GUIConstantsEx.au3>
AutoItSetOption("GUICoordMode", 0)
Global Const $iItemSpacing = 4
Global $hGUI = GUICreate("", 200 + $iItemSpacing * 2, 100 + $iItemSpacing * 2)
GUICtrlCreateTreeView($iItemSpacing, $iItemSpacing, 100, 100)
GUICtrlCreateButton("Test", $iItemSpacing + 100, 0, 100, 100) ; left, top - 0 and 1 is same here
GUISetState()
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
ExitLoop
EndSwitch
WEnd