Menu

extract text from a OWNERDRAW_FIXED ListView?

Help
TeeSh
2007-02-15
2013-05-28
  • TeeSh

    TeeSh - 2007-02-15

    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.

     
    • Mark Mc Mahon

      Mark Mc Mahon - 2007-02-15

      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

       

Log in to post a comment.