Hello
It has been quite awhile since I posted but thought I would share an interesting script that I am using in one of my projects.
This script allows a user to quickly edit a label control and and relock it.
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
Global $Data, $Label
GUICreate("Example", 500, 500)
$Data = GUICtrlCreateEdit("Write something in here and hit lock.", 0, 0, 500, 480)
$State = GUICtrlCreateButton("Lock", 0, 480, 500, 20)
GUISetState(@S