Programming > Lightweight Java Gaming Library
[Solved] How to get Window handle from the window LWJGL creates?
(1/1)
QuorumAccessibility:
Can someone tell me where or how LWJGL creates the window handle for the main window on Windows? From what I can tell from the Hello World program on the Get Started page, GLFW is responsible for creating the window and that is passed around in Java to do things. However, I need to get access to the HWND down in C so that I can hook in COM interface code. I imagine at some point GLFW has to create the window through Windows API but from just looking through the source code its not clear to me.
spasi:
See glfwGetWin32Window.
QuorumAccessibility:
This is exactly what I was looking for. Thanks!
Navigation
[0] Message Index
Go to full version