Hey, I posted this in coding forums as well, but with no luck. I'm currently trying to make a program that uses an MDI, but I've hit a deadend I can't figure out how to keep track of each set of data, that goes along with the correct MDI child window.
I have a struct that stores information about a document, and an array of these structs, one for each open child window. When a window needs repainting, I want to be able to pull the correct data for the window. I tried giving each struct for the document a handle variable, and testing for it, but to no avail. Somebody suggested about giving the MDI's a new member variable for storing the struct, but I don't have a clue about how to go about that
If anybody has any advice, or help they can give me, I'd really appreciate it. I hope I've explained it enough.