I'm trying to use DirectInput with Irrlicht but i need the handle to the window irrlicht creates =/
Any easier ways/ help/ experience? thanks
[i looked at http://www.directxtutorial.com/Tutorial ... aspx#still but thats if im creating the window =/ so.... yeah thanks]
Irrlicht window handle
-
- Posts: 45
- Joined: Thu Apr 24, 2008 7:54 pm
- Location: Wickede, Germany
-
- Posts: 2
- Joined: Wed May 21, 2008 6:03 am
He just did give it to you:
You do that after you create you Direct3D9 device. And if you aren't using a D3D9 device, then change it accordingly. If that doesn't make sense, then you should probably check the documentation.
Code: Select all
HWND hWnd = reinterpret_cast<HWND>(exposedData.D3D9.HWnd);
TheQuestion = 2B || !2B