Jump to content

Read content from an AFX control


Recommended Posts

Hello, is there a way to get the content of an AFX tool bar?

Here is the control information.  I believe others suggest using ControlGetHandle

This >post illustrates how to deal with list view.  I am trying to do the same thing for this tool bar.  It looks exactly like the status bar.

>>>> Control <<<<
Class: Afx:400000:8:10003:10:0
Instance: 1
ClassnameNN: Afx:400000:8:10003:10:01
Name: 
Advanced (Class): [CLASS:Afx:400000:8:10003:10:0; INSTANCE:1]
ID: 59393
Text: 

Link to comment
Share on other sites

The handle is used to reference the control.  In the example you cite they are using a specific UDF for listviews to get the item count by referring to the control by its handle.  I don't know what kind of control it is and it would also be helpful if you could post some code but you might take a look at:  GUICtrlRead ( controlID [, advanced] ).

Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

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...