WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Control Manager
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Common Control Classes with Control Manager

Keywords: 	 classes controls

This is a (growing) list of windows classes that the Control Manager handles:


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
This function returns information about a window or control.
cWndState
Get the current state of a top-level 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
This function returns the text that may be associated with each part of a Status Bar control. A tab character delimits each parts text. If a part does not have text, a single tab character is placed in the appropriate position of the return list. If a Status Bar is in simple mode, only the text associated with that mode will be returned. The class name for this control is "msctls_statusbar32".

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
This function allows you to get the maximum position of an UpDown control. The class name for this control is "msctls_updown32.
cGetUpDownMin
This function allows you to get the minimum position of an UpDown control. The class name for this control is "msctls_updown32.
cGetUpDownPos
Gets the position of an UpDown control.
cSetUpDownPos
The function can be used to set the position of an UpDown control.

MOUSE


cGetWndCursor
Determines an application windows 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
This function returns information about a window or control.

SysDateTimePick32


cGetDTPDate
This function 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
You can use this function to simulate a mouse double click on a List View, Tree View or Header common control.
cGetHRText
The function will return all the text associated with each item of a Header common control. Header control items are often found as column titles of report (detail) style List View controls. Double clicking a Header item will often reverse the sort order of the column below it. The class name for this control is "SysHeader32".

SysIPAddress32


cGetIpAddr
This function retrieves an IP address stored in an IP Address common control. The class name for this control is "SysIPAddress32".
cSetIpAddr
This function places an IP address stored in an IP Address common control. The class name for this control is "SysIPAddress32".

SysListView32


cClearLVItem
You can use this function to un-select an item of a List View common control. It may be necessary to use this function when a control allows multiple selections but only one is desired. The class name for this control is "SysListView32".
cDblClickItem
You can use this function to 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
This function retrieves the text associated with items of a List View common control. A tab character is inserted between each item's text. If the control has the Report View style, only the text from the first column of each row is returned. The class name for this control is "SysListView32".
cSetLVItem
You can use this function to make an item of a List View common control the selected item. Once an item is selected, it is the ultimate recipient of mouse clicks and key strokes sent to the control. The class name for this control is "SysListView32".

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
You can use this function to simulate a mouse double click on a List View, Tree View or Header common control.
cClearTVItem
You can use this function to un-select an item of a Tree View common control. Placing the text of an item and each of its ancestor items starting at the root into a string specifies an item. A tab character must delimit each items text. The class name for this control is "SysTreeView32".
cSetTVItem
This function is used to select an item of a Tree View common control. Once an item is selected, it is the ultimate recipient of mouse clicks and keystrokes sent to the control. Placing the text of an item and each of its ancestor items starting at the root into a string specifies an item. A tab character must delimit each items text. The class name for this control is "SysTreeView32".

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


cGetInfo
This function returns extender specific information.
cGetWndCursor
Determines an application windows 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
This function sets the keyboard focus to the control window specified by the input window handle.
cWndExist
Determines if a child window of the specified parent exists.

Controls not currently supported




Article ID: W12489

Filename: !Control Mgr Functions and Windows Control Classes.txt
File Created: 2017:07:28:13:58:24
Last Updated: 2001:01:09:14:05:14