Difference between two...

Hello,

  What is difference between this two...?

    [b]hdc = GetDC(hwnd); [/b]and [b]hdc = GetDC(NULL);[/b]

 can i do same in JOGL and How?

Thank and Regards

Hi,
If I recall correctly these are ways to get the device context associated to a window or the screen (null case).
From your previous post I can guess that you want to use the GetDC(NULL) to be able to draw stuff over all the others windows.

I played a little with that in Win32 GDI but it’s very tied to the OS… I’m not sure it’s possible to get the null dc to draw opengl into with jogl.
Maybe some guru can tell us…

this kind of facility is not available in current version of JOGL or any FUTURE release.
If we can do using native call then also it is fine.