I'm using Visual C++ 1.5 and MFC under Windows 3.1. If I implement
an array of controls, such as
what do I do in the message map to deal with that? What I really
want is for a click on any button in the array to go to a single
function, with a parameter giving the ID of the button pressed.
I can't find any example of this in my books or on-line docs.
If I have to actually write an ON_BN_CLICK entry for each
entry, that sort of defeats the purpose of using an array (not to
mention that I'd have to give a unique function for each entry?)
Thanks in advance for any help...