Accessing SysListView32 and ListViewItems with Ranorex 2.0

Ask general questions here.
osaighi
Posts: 10
Joined: Thu Mar 25, 2010 10:44 am

Re: Accessing SysListView32 and ListViewItems with Ranorex 2.0

Post by osaighi » Fri Mar 26, 2010 2:16 pm

I'm not the developer but i will ask him.
About the list appearance, it uses a Report View.
For information it's a MFC Visual C++ 6 application.

Thank you

osaighi
Posts: 10
Joined: Thu Mar 25, 2010 10:44 am

Re: Accessing SysListView32 and ListViewItems with Ranorex 2.0

Post by osaighi » Fri Mar 26, 2010 2:45 pm

The sample Application :
Ranorex.zip
Thank You.
You do not have the required permissions to view the files attached to this post.

osaighi
Posts: 10
Joined: Thu Mar 25, 2010 10:44 am

Re: Accessing SysListView32 and ListViewItems with Ranorex 2.0

Post by osaighi » Mon Mar 29, 2010 9:55 am

Release Sample :
Ranorex.zip
Thank you.
You do not have the required permissions to view the files attached to this post.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Accessing SysListView32 and ListViewItems with Ranorex 2.0

Post by Support Team » Mon Mar 29, 2010 12:06 pm

Hi,

we've looked at your example executable and we figured out that you are using Common Controls 5 (MFC42.DLL). We are sorry but we provide only limited support for Common Controls 5, but there is full support for Common Controls 6.

Regards,
Peter
Ranorex Support Team

osaighi
Posts: 10
Joined: Thu Mar 25, 2010 10:44 am

Re: Accessing SysListView32 and ListViewItems with Ranorex 2.0

Post by osaighi » Tue Mar 30, 2010 8:19 am

Hi,

Thank you for your help, i will check this with the developer

osaighi
Posts: 10
Joined: Thu Mar 25, 2010 10:44 am

Re: Accessing SysListView32 and ListViewItems with Ranorex 2.0

Post by osaighi » Wed Apr 14, 2010 1:43 pm

Hello,

i checked and it seems that the MFC42.dll uses the common controls 6.
Maybe this feature don't support mfc applications developped within visual c++ 6 ?

Someone knows how can we force the use of a most recent common control version in visual 6 fro MFC?

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: Accessing SysListView32 and ListViewItems with Ranorex 2.0

Post by Support Team » Thu Apr 15, 2010 2:26 pm

Hmm I think that MFC42 (MFC 6.0)per default uses ComCtl 5 if you do not have an application manifest which specifies that ComCtl 6 should be used. Note that this does not work in Win2k because it doesnt support ComCtl 6 (because it uses Windows XP visual styles)

Michael
Ranorex Team

osaighi
Posts: 10
Joined: Thu Mar 25, 2010 10:44 am

Re: Accessing SysListView32 and ListViewItems with Ranorex 2.0

Post by osaighi » Thu Apr 15, 2010 4:57 pm

Hi,

I tried with a manifest to force the version 6 and it works good!

Thank you very much