1. RE: Having Trouble selecting items from LV

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

new topic     » topic index » view message » categorize

2. RE: Having Trouble selecting items from LV

Tony or anyone,
can you reduce the example down to the mininum. In other words, can you 
create a small program that exhibits the effects you are seeing? The 
large program you submitted seems to work fine for me, except that I 
don't know how to get anything into the second LV. Your code doesn't 
seem to show easily how to do that.

----------
Derek

new topic     » goto parent     » topic index » view message » categorize

3. RE: Having Trouble selecting items from LV

Hi Derek,

I guess the problems that Tony faces might be cause of old win32lib.ew 
or include files. Cause yesterday i tested his code and i have the same 
results as u got.

So Tony, back to you, Break it down and send us a stub program cause 
your program works okay on my system though i can swear i once faced the 
same problem.

BTW, good looking Proggy u gat there
 
Derek Parnell wrote:
> Tony or anyone,
> can you reduce the example down to the mininum. In other words, can you 
> create a small program that exhibits the effects you are seeing? The 
> large program you submitted seems to work fine for me, except that I 
> don't know how to get anything into the second LV. Your code doesn't 
> seem to show easily how to do that.
> 
> ----------
> Derek
> 
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu