Jump to content
Sign in to follow this  

Get info from a customized MFC ListView control

Recommended Posts


Is there any way to get list item data from an MFC CListCtrl where the application, instead of filling the list with text items the normal way, gets the Rect for each item in the list, and draws directly on it (they have for instance implemented a custom tree view that way)? So the info in the list are visualisations of the tree structure, and a text. And I would like to get that text...

The List Control Class is in a DLL. It has of course hidden the list data in a private structure, but there are public methods of extracting the data. I guess that won't help me though, as it's not exported.

Background: I am investigating the possibility to use AutoIt as a test tool, testing a rather complex expert application through the GUI. Many of their list controls are cusomized this way though, so if I can't get around it, I'll have to drop the whole project...

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.