DGL https://delphigl.com/forum/ |
|
Can i make a opengl area in a delphi form? https://delphigl.com/forum/viewtopic.php?f=19&t=9789 |
Seite 1 von 1 |
Autor: | azrael11 [ Fr Mär 11, 2011 22:56 ] |
Betreff des Beitrags: | Can i make a opengl area in a delphi form? |
I want to use a in a delphi form an area "example a panel" with opengl window. Can i do that and if i can how? |
Autor: | i0n0s [ Sa Mär 12, 2011 01:57 ] |
Betreff des Beitrags: | Re: Can i make a opengl area in a delphi form? |
It works easily: Simply hand over the dc of the panel instead of the form in the initialisation and you'll render inside the panel. |
Autor: | Stucuk [ So Mär 13, 2011 21:52 ] |
Betreff des Beitrags: | Re: Can i make a opengl area in a delphi form? |
You can render an opengl window in any component which has a handle. Just use GetDC(SomeComponent.Handle) to get the DC. |
Seite 1 von 1 | Alle Zeiten sind UTC + 1 Stunde |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |