Hi,
I have a listview (syslistview32 class) with OWNERDRAW_FIXED property set.
I am not able to extract text from it even when accessing it using ListView.GetItem(i).
Is there any way to make Select/sendkeys (home,enter) work to extract the data?
In this case, Is there any other way at all apart from looking for a different
component to extract the text from?
Regards,
Shanmu.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is very little I can do with 'non-standard' (Ownerdraw especially) controls. If the control responds to the normal messages - then great - otherwise there is either no way to get the text or the control has it's own proprietary API - which I don't know.
I haven't seen very many Ownerdraw SysListView32's - it's normally more simple controls.
I think you may be stuck - and I don't know how to help you.
If you figure out a solution and it's something that would help pywinauto (or others) then I would love to hear about it.
Thanks
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a listview (syslistview32 class) with OWNERDRAW_FIXED property set.
I am not able to extract text from it even when accessing it using ListView.GetItem(i).
Is there any way to make Select/sendkeys (home,enter) work to extract the data?
In this case, Is there any other way at all apart from looking for a different
component to extract the text from?
Regards,
Shanmu.
Hi Shanmu,
There is very little I can do with 'non-standard' (Ownerdraw especially) controls. If the control responds to the normal messages - then great - otherwise there is either no way to get the text or the control has it's own proprietary API - which I don't know.
I haven't seen very many Ownerdraw SysListView32's - it's normally more simple controls.
I think you may be stuck - and I don't know how to help you.
If you figure out a solution and it's something that would help pywinauto (or others) then I would love to hear about it.
Thanks
Mark