Sign in to follow this  
Followers 0
neo291

_GUICtrlIpAddress - gui_disable ?

4 posts in this topic

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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Thanx A lot Rasim!


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

Share this post


Link to post
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
Sign in to follow this  
Followers 0