Jump to content

ControlGetText - MSFlexGridWndClass


STSRob
 Share

Recommended Posts

I am having a problem trying to get ControlGetText to return text from Grids.

Here is Control Information of the Grid:

>>>> Control <<<<

Class: MSFlexGridWndClass

Instance: 1

ClassnameNN: MSFlexGridWndClass1

ID:

Text:

Position: 285, 366

Size: 480, 80

ControlClick Coords: 189, 46

Style: 0x54000000

ExStyle: 0x00000000

Handle: 0x00010184

--------------------------------------------------------------

Example Code:

----------------------------

$HEX = "0x00010184"

$text = ControlGetText ( "", "", HWnd($HEX) )

MsgBox(0, "Text read from Control Handle:" & HWnd($HEX) & " was:", $text)

----------------------------

In my real code I pass $HEX in as a parameter instead of hard coding it. When I use this approach it has worked for other controls I interact with, but no luck so far for this.

Any feedback wold be great.

Thanks

Rob

EDIT: I posted this in the general help forum - I realized it probably should not have been in this GUI section.

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