Jump to content

_GUICtrlIpAddress - gui_disable ?


neo291
 Share

Recommended Posts

Is it possible to DISABLE IP field(_GUICtrlIpAddress) like GUICtrlSetState($hwnd, $GUI_DISABLE) ?

$hIPAddress = _GUICtrlIpAddress_Create($hgui, 10, 10)
    GUICtrlSetState($hIPAddress,$GUI_DISABLE);<--- looking for replacement of this line

I'm not a programmer. Just a Power User.

Link to comment
Share on other sites

Zedna

Friend, your example does not work.

neo291

Example:

#include <GuiConstantsEx.au3>
#include <GuiIPAddress.au3>

$hgui = GUICreate("IP Address Example", 300, 200)

$hIPAddress = _GUICtrlIpAddress_Create($hgui, 10, 10)
WinSetState($hIPAddress, "", @SW_DISABLE)

_GUICtrlIpAddress_Set($hIPAddress, "24.168.2.128")

GUISetState(@SW_SHOW)

Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...