I have a bunch of textboxes (edit boxes in vc++ I guess) Now I want them to share an array variable. How would I go about this?
Printable View
I have a bunch of textboxes (edit boxes in vc++ I guess) Now I want them to share an array variable. How would I go about this?
something like this?
HWND sharebox[20];
and then set their handles
hmm possibly, maybe I'm going about this the wrong way. Maybe you have a better way of dealing with this. But basically I have 24 edit boxes, they all act the same way (they change text color based on characters at the start like no special characters it's blue, // its yellow, / it's green, etc etc)
When all is said and done I want to print them all to a file and I thought it would be simplier to have an array to iterate through, but on further thought I was still thinking VB6 File I/O. Now that I recall C++ File I/O I don't think I need the array.