Jump to content
Sign in to follow this  

Help on Grid Controls

Recommended Posts


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


Position: 80, 189

Size: 402, 342

ControlClick Coords: 128, 151

Style: 0x56010000

ExStyle: 0x00000000

Handle: 0x0000000000300C58

Share this post

Link to post
Share on other sites

Hi, Sarmistha. Is this a GUI you have created, or an external application window? Can you post a screen shot of the window you're trying to manipulate?

√-1 2^3 ∑ π, and it was delicious!

Share this post

Link to post
Share on other sites


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


Edited by Sarmistha

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.