Jump to content

Fetch Static Control Info

Recommended Posts

Hi All,

I need to fetch the info inside a static control. The info is a data window filled with 0's and 1's. Any ideas on this?

Attached is the snapshot.

Below is the info from Au3info tool.

>>>> Window <<<<

Title: ABC

Class: Afx:400000:8:10011:0:168046d

Position: -4, -4

Size: 1288, 1002

Style: 0x15CF8000

ExStyle: 0x00000110

Handle: 0x003B04B8

>>>> Control <<<<

Class: Static

Instance: 22

ClassnameNN: Static22


Advanced (Class): [CLASS:Static; INSTANCE:22]

ID: 1249


Position: 788, 373

Size: 171, 166

ControlClick Coords: 56, 85

Style: 0x50000007

ExStyle: 0x00020305

Handle: 0x00730658

>>>> Mouse <<<<

Position: 844, 504

Cursor ID: 0

Color: 0xFFFFFF


Link to post
Share on other sites

Does it show the same ClassNameNN for each cell?

Normally it should be read by ControlGetText but if Au3Info doesn't show nothing in Text property

then it could be as image (0 or 1) set on static controls by STM_SETIMAGE.

So you can try STM_GETIMAGE

EDIT: What application is it?

If we can download/run this application we can help you with STM_GETIMAGE

Edited by Zedna
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...