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
(5.79 KiB) Downloaded 176 times
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 » Mon Mar 29, 2010 9:55 am

Release Sample :
Ranorex.zip
(4.62 KiB) Downloaded 169 times
Thank you.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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

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: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

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

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