bobthebuilder Posted December 19, 2005 Posted December 19, 2005 HELP!!!!!!! This is the list for ControlCommand where the hell is get listbox count?? If its not providded how am I suppossed to do this? Please note this is an MFC app I am interrogating. "IsVisible", "" Returns 1 if Control is visible, 0 otherwise "IsEnabled", "" Returns 1 if Control is enabled, 0 otherwise "ShowDropDown", "" Drops a ComboBox "HideDropDown", "" UNdrops a ComboBox "AddString", 'string' Adds a string to the end in a ListBox or ComboBox "DelString", occurrence Deletes a string according to occurrence in a ListBox or ComboBox "FindString", 'string' Returns occurrence ref of the exact string in a ListBox or ComboBox "SetCurrentSelection", occurrence Sets selection to occurrence ref in a ListBox or ComboBox "SelectString", 'string' Sets selection according to string in a ListBox or ComboBox "IsChecked", "" Returns 1 if Button is checked, 0 otherwise "Check", "" Checks radio or check Button "UnCheck", "" Unchecks radio or check Button "GetCurrentLine", "" Returns the line # where the caret is in an Edit "GetCurrentCol", "" Returns the column # where the caret is in an Edit "GetCurrentSelection", "" Returns name of the currently selected item in a ListBox or ComboBox "GetLineCount", "" Returns # of lines in an Edit "GetLine", line# Returns text at line # passed of an Edit "GetSelected", "" Returns selected text of an Edit "EditPaste", 'string' Pastes the 'string' at the Edit's caret position "CurrentTab", "" Returns the current Tab shown of a SysTabControl32 "TabRight", "" Moves to the next tab to the right of a SysTabControl32 "TabLeft", "" Moves to the next tab to the left of a SysTabControl32 Cheers, Bob
Valuater Posted December 19, 2005 Posted December 19, 2005 stop looking in hell just look in help _GUICtrlListCount -------------------------------------------------------------------------------- Get the number of items in the list box #Include <GuiList.au3> _GUICtrlListCount($h_listbox) Parameters $h_listbox control id/control hWnd 8)
djo4ever Posted October 27, 2006 Posted October 27, 2006 (edited) In Program Files\AutoIt3\Include if you use the release version of AutoIt. In Program Files\AutoIt3\Include if you use the beta version of AutoIt. Just add on top of your script: #include <GuiList.au3> Good luck Srry 4 my bad english, I'm dutch (Belgian) Edited October 27, 2006 by djo4ever
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now