Hey guys i'm working on a MFC project for school, and i have to have to be able to access a picture control and a text box using pointers from inside another .cpp file. I'm pretty sure that I did exactly what my teacher told me to do, but it is flagging the the ID's that I put in for the DLG items. I am sure that the ID's are correct, so the problem must lie somewhere else. Here is the code for the function that does the modifying.
Like i said, my compiler is flagging TEXTBOX and PICTURE. Oh, and when i call this function from inside one of my handlers, i am using "this" for the CDialog* window parameter. Any help would be greatly appreciated, thanks!
Now I am having a similiar problem while attempting to change the .bmp picture. My compiler is flagging the id of a .bmp that I am trying to using in a static picture control. I know i am using the right id.