Jump to content

Recommended Posts

Posted

Hi All,

I am new to AutoIT GUI,

Can anyone help me in Grid Control.

I have a table That have 4 column.

I need to read the data from 4th Col.

Follwing property I got from AutoIT window info.

>>>> Window <<<<

Title: XY Calibration Setup

Class: #32770

Position: 262, 101

Size: 852, 678

Style: 0x94C800E4

ExStyle: 0x00010101

Handle: 0x00000000003D195E

>>>> Control <<<<

Class: WindowsForms10.window.8.app.0.1748312_r29_ad1

Instance: 2

ClassnameNN: WindowsForms10.window.8.app.0.1748312_r29_ad12

Name: m_ultraGrid

Advanced (Class): [NAME:m_ultraGrid]

ID: 3148888

Text:

Position: 80, 189

Size: 402, 342

ControlClick Coords: 128, 151

Style: 0x56010000

ExStyle: 0x00000000

Handle: 0x0000000000300C58

  • 2 weeks later...
Posted (edited)

Hi,

I am using the follwing code to get the items from grid.

controlgethandle is getting me the control id but _GUICtrlListView_GetItemCount returns Null

GUI is a external application window.

Please help. screenshot for the GUI is attached.

$hCtrl = ControlGetHandle("XY Calibration Setup", "", "[NAME:m_ultraGrid]")
$sMsg &= @TAB & "Handle= = " & $hCtrl & @CRLF
    $Finditem = _GUICtrlListView_GetItemCount($hCtrl)
    
$sMsg &= @TAB & "ITEM= " & $Finditem & @CRLF
    ConsoleWrite($sMsg)

post-72696-0-98086100-1343032160_thumb.p

Edited by Sarmistha

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
  • Recently Browsing   0 members

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