I have got a CDialog Class, inside which there are two ClistCtrl classes. I want to find out which of the listCtrl's is selected at the moment. say, listCtrl A and B. Even when I move between A and B, suppose first I go to A and select a row. Then even when I go to B and select an item there, item in A remains selected as I don't come to know that I have gone in other list.
Any suggestions, how I can find this.