Jump to content

Problem in ListView


Recommended Posts

I have a ListView with below control details

post-50013-1244466673_thumb.png

while 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.

post-50013-1244466663_thumb.png

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 by sagirajuramaraju
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...