Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

MOUSE_EVENT_RECORD (Structures)
 
.
Summary
The MOUSE_EVENT_RECORD structure is used in a console INPUT_RECORD structure to report mouse input events.

C# Definition:

    [StructLayout( LayoutKind.Explicit )]
    public struct MOUSE_EVENT_RECORD
    {
        [FieldOffset( 0 )]
        public COORD dwMousePosition;
        [FieldOffset( 4 )]
        public uint dwButtonState;
        [FieldOffset( 8 )]
        public uint dwControlKeyState;
        [FieldOffset( 12 )]
        public uint dwEventFlags;
    }

VB Definition:

Structure MOUSE_EVENT_RECORD
   Public TODO
End Structure

User-Defined Field Types:

None.

UPDATE:

This started working once I changed the FOCUS_EVENT_RECORD to take a uint rather than a bool. Prior to that MOUSE_EVENT_RECORD.dwMousePosition.X was always 0

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions