Jump to content

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

Link to post
Share on other sites
  • Moderators

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?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites
  • 2 weeks later...


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

    No registered users viewing this page.

  • Create New...