Opened 15 years ago

Closed 15 years ago

#1207 closed Bug (Fixed)

_GUICtrlIpAddress_Set ($hIPAddress, "") displays

Reported by: robinacjohnston Owned by: Jpm
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


The _GUICtrlIpAddress_Set function when run on the beta gets the octets muddled up. would display as

If you want to see this in action run the example code in the help file and it displays instead of

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by anonymous

This should be 4-3-2-1 not 2-1-4-3 in function below within GUIIPAddress.au3 include file

Func _GUICtrlIpAddress_SetEx($hWnd, $tIP)

If $Debug_IP Then UDF_ValidateClassName($hWnd, $tIP)
_SendMessage($hWnd, $IPM_SETADDRESS, 0, _

_WinAPI_MakeLong(BitOR(DllStructGetData($tIP, "Field2"), 0x100 * DllStructGetData($tIP, "Field1")), _
BitOR(DllStructGetData($tIP, "Field4"), 0x100 * DllStructGetData($tIP, "Field3"))))

EndFunc ;==>_GUICtrlIpAddress_SetEx

comment:2 Changed 15 years ago by Jpm

  • Milestone set to
  • Owner set to Jpm
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed in version:

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.