heck
February 17, 2001, 2:56am
1
Hello outhere !!!
Now I’m stuck in a disadvantige I didnt see when I began using GLUT (for me GLUT is really COOL!!, but there can be other meanings - when so, tell me).
The Problem:
How Can I get the Handle od the Device Context (hDC) when I’m using GLUT.
The Solution :
Ahhm… Sorry Mr. Officer :-/
thx for every Help!!!
heck
February 17, 2001, 4:50am
3
IS THIS FOR REAL ???
In fact there is no way to get the Handle of the DC when using GLUT??
miserable, paltry, pathetic, poor !!!
I cant believe…
Siwko
February 17, 2001, 4:56am
4
Sure you can.
Try using wglGetCurrentDC().
Siwko
heck
February 17, 2001, 6:27am
5
thanx Siwko
I’ didn’t try so far,
BUT where is my platform-independece , now ???
(this is a Windows-API function )
heck
February 17, 2001, 7:36am
6
Getting the HDC has to be Windows-specific – there is no such thing as an HDC outside of Windows.
heck
February 17, 2001, 9:46am
8
Absolutly right, yes.
never thought to this!
If I got to give a Handle as param, my
function itself is Winapi, hmmm. Dumb-me!
Sorry!!!