I'm using the MFC CFrameWnd class as the base class for the main window of my application, an OpenGL based scenegraph viewer (OpenSceneGraph, specifically). I'm creating the window as a popup window (WS_POPUP), as that is the convention I've seen used everywhere for Windows 3D graphics. The problem is that the window is created with a border, which is something I don't want. I've tried specifying ~WS_BORDER as a dwStyle parameter for the Create method, but this simply causes the window to fail to show altogether. Anyone know of a way to get rid of the border, or do I need to use a different base class?

Thanks