@edumanilha Just use _GuiCtrlIPAddress_... functions example:
#include <GUIConstantsEx.au3>
#include <GuiIPAddress.au3>
Example()
Func Example()
Local $sIPAddress = "192.168.6.10"
Local $hGui = GUICreate("IP Address Control", 260, 30)
Local $hIPAddress = _GUICtrlIpAddress_Create($hGui, 5, 5, 125, 20)
Local $idIPAddress = GUICtrlCreateButton("IP Address", 130, 4, 125, 22)
GUISetState(@SW_SHOW)
_GUICtrlIpAddress_Set($hIPAddress, $sIPAddress)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $idIPAddress
MsgBox(4096, "IP Address", "IP Address = " & _GUICtrlIpAddress_Get($hIPAddress))
EndSwitch
WEnd
EndFunc