RE: Having Trouble selecting items from LV
- Posted by jordah ferguson <jorfergie03 at yahoo.com> May 06, 2002
- 363 views
Hi Tony, I am going to check out your source code and hopefully i will find the problem any way before i do that let me inform you i had a some what similar problem when i was coding my Email client that has 5 LVs in the same place to represent email folders Things to Note: 1)Always when selecting the listview to getVisibility and focus..set the other listviews to no visisbility ie if you have lv 1 and 2 to select 1 make sure 2 has no visibility 2) I'm not sure about whether you have to this but give it a try if you have lvs 1 and 2 to select 1 first erase all items the reload and when selecting lv2 first erase items the reload... in other words perform delete then reload the above were my work arounds to the problem that drove me nuts for about a month...use at your own risk jORDAH make progress....or stand aside Tony Steward wrote: > Hi All, > I am having problems getting the correct items from my LV. > The Program has more than one LV and It did work the other day but alas > not now. > > Would somebody PLEASE take a look and point out the error of my ways. > > Prog can be downloaded from > http://members.aol.com/lockmaster67/Downloads/KT2002.zip > > The problem arises if you select the key from the top LV, then select > both keys from the lower LV and click the return button. This takes you > to another window. In this window select Returned OK and then the return > > button. I returns one of the keys twice and not the 1st key. It seems > that I am selecting the rows from the LV incorrectly. But somehow it did > > work once. > > The win32lib is not standard but I am certain that this is not where the > > error lies. > > Thanks > Tony Steward > >