HI, Just ran into a problem. How to I change a picturebox's picture from within a different header file.
If I do it in the same .h file as the Form I am working on I use:
sq1->Image = bi; (which loads in a bitmap)
but when I do it from another header (i've included the correct header file), I get "sq1 is an undeclared identifier" and "left of '->image' must point to a class/struct/union/generic"
What I'm looking for is something like
Form1::sq1->Image = bi;
Basically I just want to point the program to change picturebox from another location....Is this possible? How can I do this?
Cheers!