ListView Routines....Congrats but
- Posted by jordah ferguson <jorfergie03 at yahoo.com> May 07, 2002
- 367 views
Hi Derek, I would like to thank you for all the corrections you have made to the new Win32lib.ew. They are perfect on my system. I have converted my program to the new win32lib and due to the new win32lib enhancements, i managed to shred the "work-arounds" from my proggy and got it from 230Kb to 97Kb....wow what a truck load. Thanx a lot Derek. However there is one problem i have encountered ie Matt Lewis gave me some code that was working on the prior versions of win32lib here it goes. <<<<< The code gets for me which lv item(s) is checked, >>>>>> release_mem( findlv ) return item end function --LVIS_STATEIMAGEMASK))) >> 12) -1) return (sendMessage( id, LVM_GETITEMSTATE, index, LVIS_STATEIMGEMASK ) / power(2,12)) - 1 end function totalCount = getLVCount(id) for i = 1 to totalCount by 1 do junk = lv_checked(id,i) if junk = 1 then output_indeces = output_indeces & sprintf("%s",i) end if end for return output_indeces end function This code "work around" was working great, Derek or Matt please convert this code to work in the new win32lib or give me a better alternative I really think this enhancement should be added to win32lib ie --detecting checked item on the LVs and setChech to listview items WIN32 lib team please help me out as you can see, i'm running out of coding time cause of lack of some features Make Progress...or stand aside! jordah Ferguson jorfergie03 at yahoo.com