I am using Windows XP 32-bit, VC++ 2008 with OpenGL and the Windows API.
When I run my program, it seems to work fine, but whenever I click anywhere on the title bar of the window, the program exits. I have no idea where to start to look for the source of this so I cannot post source code at the moment. What could be the cause of this ?