-
Re: On Combo Box
Hi. You are probably right. My code may not be a better one at all. But I suppose this would be easy for me to understand atleast. Because, all I have done is broken down the task into smaller ones and then sychronizing them. That way I am trying to stay strictly with MFC and not going into atoi() which is a standard C/C++ function. Not that it is important, its just a way of doing things. Also, I found out from the MSDN Collect sample that we can easily synchronize MFC collection classes using combo-boxes and that would be with or without using CMap and its derivatives. Having said that, it is always better to use mapping. I did not use them just because of the fact that I have not used them frequently. Further, I did not see any reason to include them in the stated situation. Also, since I am working on a project involving multiple combo-boxes and MFC-collections, I just decided to share whatever I have. I, however, completely agree, to your mention about waiting on OP's clarification of his objective. It was a bit premature, but I don't think that I have matured enough to help any poster with all the versatile problems he/she may have. I just share whatever I have and also appreciate the suggestions made by members like you.
Thankyou,
Bhushan.