Device.SetCooperativeLevel(Control,CooperativeLevelFlags) Method (Microsoft.DirectX.DirectInput)
Establishes the cooperative level for this instance of the device. The cooperative level determines how this instance of the device interacts with other instances of the device and the rest of the system.
Definition
Visual Basic Public Sub SetCooperativeLevel( _
ByVal parent As Control, _
ByVal flags As CooperativeLevelFlags _
)C# public void SetCooperativeLevel(
Control parent,
CooperativeLevelFlags flags
);C++ public:
void SetCooperativeLevel(
Control^ parent,
CooperativeLevelFlags flags
);JScript public function SetCooperativeLevel(
parent : Control,
flags : CooperativeLevelFlags
);
Parameters
parent System.Windows.Forms.Control
flags Microsoft.DirectX.DirectInput.CooperativeLevelFlags