cGetEditText

Retrieves the contents of an Edit Box. 

Syntax:

cGetEditText( hwnd)

Parameters:

(i) hwnd EditBox handle from a cWndBy… function.

Returns:

(s) Contents of the editBox.

 

This function is used to examine the contents of edit controls.

 

Example:

AddExtender("wwctl44i.dll",0,"wwctl64i.dll")

; Windows XP Sample
AddExtender("wwctl44i.dll") Run("notepad.exe","") SendMenusTo("~Notepad","FileOpen") WinWaitExist("Open",5) window1=DllHwnd('Open') window2=cWndbyclass(window1,`ComboBoxEx32`) window3=cWndbyclass(window2,`ComboBox`) ControlHandle=cWndbyclass(window3,`Edit`) mask=cGetEditText(ControlHandle) Message("Open file mask is",mask) Exit

See Also:

cSetEditText, cGetLBText, cGetCBText