joystick handle

cgillopez

New member
Joined
Jun 5, 2008
Messages
3
Programming Experience
Beginner
Hello!

I wrote an application to handle a joystick with directinput. It works fine if it uses the handle of the main window but it doesnt happen the same if the handle is the one of the component that contains the joystick's operation.

I mean:

main form handle: 15
component handle (which is inside the window and the joystick needs the focus of this component to work): 25

It always work if the handle i initilizate the device is the main form (15).

How can i use only the handle of the component?

Thanks in advance for your help.
 
Joystick - VB .Net

Can you please send me the code which is required in order to work with the Joystick in VB .Net. I'm looking to integrate the Joystick with my applciation. Thanks
 
Back
Top