sagirajuramaraju Posted June 8, 2009 Share Posted June 8, 2009 (edited) I have a ListView with below control detailswhile trying to use the functions ControlListView and _GUICtrlListView nothing is happening in my application(EX - Application1). I tried with another application(Ex - Application2) there the mentioned functions are working. I don't know where the problem is, might be in my application. But I want to work on the application in any way. Are there any different ways to work such type of application.Below is the snapshot of my application which have ListView.Below is the script what I written for the applications (Application1 and Application2)#Include <GuiListView.au3>$hWnd = ControlGetHandle("CSDB for S1000D Projects","","TLiveGrid1")MsgBox(1,"Check",$hWnd) ;(Returns the Handle of the Control)$count = _GUICtrlListView_GetitemCount($hWnd)MsgBox(1,"Check",$count); (Returns Zero) Can any one please help me out in this issue. Thanks in advance Edited June 8, 2009 by sagirajuramaraju Link to comment Share on other sites More sharing options...
Zedna Posted June 8, 2009 Share Posted June 8, 2009 ControlListview() and _GUICtrlListview_xxx() works only with STANDARD window's ListView control. I think this your control is non-standard one. Possible way is only ControlSend()+ControlGetText() or OCR or memory reading as far as I know. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
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