In my app I try to do the following:
pw.cbSize = sizeof(pw);
However, I get the error "error C2065: 'WINDOWINFO' : undeclared identifier". I dont understand why. I can successfully declare a var of type WINDOWPLACEMENT and the WINDOWINFO and WINDOWPLACEMENT structures are both defined in the same file.
Anyone have any suggestions?
0 · ·