I'm trying to get the hWnd of the Irrlicht Device Window. I do it like this:
Code: Select all
'Functie voor zoeken van 3DEngine venster
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Declare Function GetWindowText Lib "user32" Alias "GetWindowTextA" (ByVal hwnd As Integer, ByVal lpString As String, ByVal cch As Integer) As Integer
'Ophalen van hWnd
Dim hThreadId As Integer = FindWindow("Type32_Main_Window", "Exclusive-IT SiteClient 3D")
Question: Anyone else ever tried to catch the hWnd of the device window, and if so.. how the **** did you do it? LOL
Thanks already
[Ps: using VB.Net 2005, Irrlicht 0.71, .NET Wrapper for Irrlicht, Newton 3.0, .NET Wrapper for Newton ]