есть такая проблема..
Код:
#include <GUIConstantsEx.au3>
#include <GuiIPAddress.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("Test", 250, 106, 192, 124)
$Tab1 = GUICtrlCreateTab(0, 0, 249, 105)
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
$TabSheet1 = GUICtrlCreateTabItem("Вкладка одЫн")
$TabSheet2 = GUICtrlCreateTabItem("Вкладка два")
$IPAddress1 = _GUICtrlIpAddress_Create($Form1, 16, 48, 210, 21)
_GUICtrlIpAddress_Set($IPAddress1, "0.0.0.0")
ControlHide($Form1, '', $IPAddress1)
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Tab1
;~ MsgBox(0, '', GUICtrlRead($Tab1))
If GUICtrlRead($Tab1) == 1 Then
ControlShow($Form1, '', $IPAddress1)
Else
ControlHide($Form1, '', $IPAddress1)
EndIf
EndSwitch
WEnd