I'm working on a game engine for Windows using OpenGL and have come across a little problem. My window isn't getting it's messages. Like ones that would automatically be sent. I can't close the window with the X button, I can't maximize, minimize or even move the window. However I can send a message to the window handle and it'll recieve that, so I have a workaround to close the window for now. The window handle DC, RC, and HINSTANCE are inside a struct Window, maybe they're being obscured or not sent properly and that's what causing them to not be sent/recieved? I'm thinking maybe that because the HWND is inside a struct, the class and window procedure aren't linking properly? Any ideas? If you need any code to look at, just say so.