Control Type: Function List

The following WIL functions are useful when using WIL extenders.

 

AddExtender(filename)

Installs a WIL extender Dll.

LastError( )

Returns the last error encountered.

 

The following functions can be added with the WWCTL44i.DLL using the AddExtender function.

 

AddExtender("WWCTL44i.DLL")

 

Ÿ Contacting Island Lake Consulting LLC

 

Ÿ How to get technical support

 

Ÿ Window Analysis script

 

Ÿ Alphabetical: Function List

 

 

Most Controls

 

cClickButton

Clicks a button, emulating a user.

cEnableState

Examines or sets the enabled/disabled status of a control.

cFindbyClass

Gets the window handle of the first window whose class name matches the specified "class-name".

cFindbyName

Gets the window handle of the first window whose window name matches the specified 'partial window name'.

cPostButton

Clicks a button, emulating a user. This uses an undocumented method, different from cClickButton, that seems to work when cClickButton causes the script to hang.

cSetWndText

Change the text associated with a Windows control.

cWinIdConvert

Convert between a Windows handle and a Window Id (pseudo-handle)

cWndByClass

Obtains the handle of a child window or control based on the window or control class.

cWndByID

Obtains the handle of a child window or control based on the window or control ID number.

cWndByName

Obtains the handle of a child window or control based on the window or control title.

cWndBySeq

Obtains the handle of a child window or control based on the window or control sequence number.

cWndExist

Determines if a child window of the specified parent exists.

cWndInfo

Returns information about a window or control.

cWndState

Get the current state of a window

 

CHECKBOX

 

cCheckBox

Examines or sets a check box.

 

COMBOBOX

 

cGetCBCount

Gets a count of items in a Combo Box control.

cGetCBText

Extracts the text from a drop-down combo box.

cSetCBItem

Sets a single item in a standard Combobox.

 

EDITBOX

 

cGetEditText

Retrieves the contents of an Edit Box.

cSetEditText

Changes the contents of an Edit Box.

 

LISTBOX

 

cClearLBAll

Remove the highlighting from all items in either a
Single-selection or a Multiple-select List Box.

cGetLBCount

Get a count of items in a List Box control.

cGetLBText

Extracts the text from a standard list box.

cGetLBSelText

Retrieve the text from all highlighted items in either a Single-selection
or a Multiple-select List Box control.

cSetLBItem

Sets a single item in a standard single item list box. It will not work with
a multiple selection listbox.

cSetLBItemEx

Select one or more items in a List Box control.

 

msctls_statusbar32

 

cGetSBText

Returns the text that may be associated with each part of a Status Bar control.

 

msctls_trackbar32

 

cGetTrackMax

Get the maximum position of a Track Bar control.

cGetTrackMin

Get the minimum position of a Track Bar control.

cGetTrackPos

Get the current position of a Track Bar control.

cSetTrackPos

Sets the position of a Track Bar control.

 

msctls_updown32

 

cGetUpDownMax

Get the maximum position of an UpDown control.

cGetUpDownMin

Get the minimum position of an UpDown control.

cGetUpDownPos

Gets the position of an UpDown control.

cSetUpDownPos

Set the position of an UpDown control.

 

MOUSE

 

cGetWndCursor

Determines an application window’s current mouse cursor.

 

PUSHBUTTON

 

cClickButton

Clicks a button, emulating a user.

cPostButton

Clicks a button, emulating a user. This uses an undocumented method, different from cClickButton, that seems to work when cClickButton causes the script to hang.

 

RADIOBUTTON

 

cRadioButton

Examines or sets a radio button.

 

STATIC

 

cWndInfo

Returns information about a window or control.

 

SysDateTimePick32

 

cGetDTPDate

Returns the date and time stored in a Date Time Picker control in standard "datetime" format.

cSetDTPDate

Change the values of a Date Time Picker control.

 

SysHeader32

 

cDblClickItem

Simulate a mouse double click on a List View, Tree View or Header common control.

cGetHRText

Return all the text associated with each item of a Header common control.

 

SysIPAddress32

 

cGetIpAddr

Retrieve an IP address stored in an IP Address common control.

cSetIpAddr

Set an IP address stored in an IP Address common control.

 

SysListView32

 

cClearLVItem

Un-select an item of a List View common control. I

cDblClickItem

Simulate a mouse double click on a List View, Tree View or Header common control.

cGetLVColText

Retrieves all the text associated with a column of a List View common control with the
Report View style.

cGetLvDdtText

Returns the text associated with the item, that is the current drag and drop target of
a List View common control.

cGetLvFocText

Retrieve the text associated with the items that have the focus in a List View
common control.

cGetLvSelText

Retrieves the text associated with selected items of a List View common
control.

cGetLVText

Retrieve the text associated with items of a List View common
control.

cSetLVItem

Select an item in a List View common control .

 

SysMonthCal32

 

cGetCalDate

Retrieve the date or date range of a Month Calendar control with this function.

cSetCalDate

Set the date or date range of a Month Calendar control with this function.

 

SysTabControl32

 

cSetTABItem

Selects a tab from a tabbed dialog.

 

SysTreeView32

 

cDblClickItem

Simulates a mouse double click on a List View, Tree View or Header
common control.

cClearTVItem

Un-select an item of a Tree View common control.

cGetTVItem

Obtains the selected item of a Tree View common control.

cSetTVItem

Select an item of a Tree View common control.

 

ToolbarWindow32

 

cClickToolbar

Simulates performing a left mouse button click of a Tool Bar button.

cGetTBText

Retrieves the text for each button of a Tool Bar control.

 

Non-Control Related Functions

 

cGetControlImageCrc

Creates a Cyclic Redundancy Check (CRC) value of the
on-screen image of a Windows control.

cGetFocus

Retrieves handle of the window with keyboard focus

cGetInfo

Returns extender specific information.

cGetWndCursor

Determines an application window’s current mouse cursor.

cPostMessage

The real PostMessage (or PostMessageA if you want to get nitpicky).

cSendMessage

The real SendMessage (or SendMessageA if you want to get nitpicky).

cSetFocus

Set the keyboard focus to the control window specified by the input window handle.

cSetWndSpecRetry

Sets number of retries performed by the cWndByWndSpec and cWndByWndSpecName functions.

cWndExist

Determines if a child window of the specified parent exists.

cWndByWndSpec

Returns a window handle based on the window specifications.

cWndByWndSpecName

Returns the window handle of a top-level window from the window specification generated using a window’s title.

cWndGetWndSpec

Creates a window specification from the window handle.

cWndGetWndSpecName

Creates a window specification from the window handle.