- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Is it possible to draw with OpenGL to a child window of a MDI application? Where do you put the OpenGL code?
I admit i'm finding this win api pretty confusing.. My program works great as a quickwin app, but the openGL window is seperate from the client win, which i don't like, and when i close it, the whole program goes with. Can this be fixed in quickwin?
A nudge in the right direction would be greatly appreciated!
/Andy
I admit i'm finding this win api pretty confusing.. My program works great as a quickwin app, but the openGL window is seperate from the client win, which i don't like, and when i close it, the whole program goes with. Can this be fixed in quickwin?
A nudge in the right direction would be greatly appreciated!
/Andy
- Marcas:
- Intel® Fortran Compiler
Link copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Okay..
forget everything but the first question:
Is it possible?! A simple yes or no here can save me a lot of time. I want multiple windows, at least one with openGL, all within one client window.
forget everything but the first question:
Is it possible?! A simple yes or no here can save me a lot of time. I want multiple windows, at least one with openGL, all within one client window.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I would think so. Look at the PUZZLE sample - this is a "Windows Application" (not QuickWin) - it calls CreateWindow and then sits back and lets the window's registered WndProc handle the messages and do the actual work. I would think this could be extended to MDI without difficulty.
Steve
Steve

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora