Author: Anton RothAnton Roth
Date: Sep 19, 2008 04:01
Hello, i got a question regarding this line of code (from DirectInput /
Mouse example):
hr = g_pMouse->SetCooperativeLevel( hDlg, dwCoopFlags );
the hDlg is a HWND associated with the window / form it was created in. Now
how do i get that handle in the simplesample code for example? Or can anyone
explain me how i create a directInputDevice for that window? I just dont get
it how it's done in that example, and pretty much all other programs use a
windows handle, no directInput :(
|