Microsoft DirectX 9.0 |
The MessageDrain property sets or retrieves a window that receives mouse and keyboard messages from the video window.
Syntax
objVideoWindow.MessageDrain As LONG_PTR
Parameters
This property takes no parameters.
Return Values
Returns a handle to the window that receives the messages.
Remarks
An application can set this property in order to receive mouse and keyboard events generated within the video window. The message drain window does not need to be a parent of the video window, so full-screen applications can use this property.
This property is read/write.
See Also