I can't seem to get a child window to show up when I draw using opengl in the same application. I can tell it is there because when I click and drag where it should be, I can see the outline of it, but it is not visible. Is there any way to do this?
At the moment I'm defining the dialog in a resource file like this:
Code:
IDD_DIALOGLEFT DIALOG DISCARDABLE 0, 0, 100, 100
STYLE WS_CHILD| WS_VISIBLE | WS_CAPTION
EXSTYLE WS_EX_TOOLWINDOW
//...
And calling CreateDialog:
Code:
CreateDialog(hInstance,MAKEINTRESOURCE(IDD_DIALOGLEFT),hWnd,NULL);