I'm loking for suggestions as to how I can create static text controls by using a loop.
I'm having some success in what I tried up to now, however one problem I need to correct is that the name of the control is currently:
CStatic *text1 = new CStatic;
I need to change this so that it using the variable from the loop. In this case the variable for the loop is an int called i Otherwise when I run it it displays one control then just over writes the previous one and so on..
Thanks.
Our community of experts have been thoroughly vetted for their expertise and industry experience.