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

Search Results for "TRACKMOUSEEVENT" in [All]

user32

.
Summary
.

static extern bool TrackMouseEvent(ref TRACKMOUSEEVENT lpEventTrack);

.

        static extern int TrackMouseEvent(ref TRACKMOUSEEVENT lpEventTrack);

.

        public struct TRACKMOUSEEVENT

.

            public TRACKMOUSEEVENT(Int32 dwFlags, IntPtr hWnd, UInt32 dwHoverTime)

.

                this.cbSize = Marshal.SizeOf(typeof(TRACKMOUSEEVENT));

.

        TRACKMOUSEEVENT tme; // Define it on the outside so you dont recreate it each time the mouse enters

.

            tme = new TRACKMOUSEEVENT();            

.

            tme.cbSize = Marshal.SizeOf(typeof(TRACKMOUSEEVENT)); // make sure it gets correct size in different platforms

.

            TrackMouseEvent(ref tme);            

.

            /// The function fills in the structure instead of treating it as a tracking request. The structure is filled such that had that structure been passed to TrackMouseEvent, it would generate the current tracking. The only anomaly is that the hover time-out returned is always the actual time-out and not HOVER_DEFAULT, if HOVER_DEFAULT was specified during the original TrackMouseEvent request.

.
Documentation
[TrackMouseEvent] on MSDN

Constants

2: WM
.
WM_MOUSEHOVER 0x2A1 The WM_MOUSEHOVER message is posted to a window when the cursor hovers over the client area of the window for the period of time specified in a prior call to TrackMouseEvent.
.
WM_MOUSELEAVE 0x2A3 The WM_MOUSELEAVE message is posted to a window when the cursor leaves the client area of the window specified in a prior call to TrackMouseEvent.
.
WM_NCMOUSEHOVER 0x2A0 The WM_NCMOUSEHOVER message is posted to a window when the cursor hovers over the nonclient area of the window for the period of time specified in a prior call to TrackMouseEvent.
.
WM_NCMOUSELEAVE 0x2A2 The WM_NCMOUSELEAVE message is posted to a window when the cursor leaves the nonclient area of the window specified in a prior call to TrackMouseEvent.

Structures

.

public struct TRACKMOUSEEVENT {

.

Public Structure TRACKMOUSEEVENT

.
Documentation
[TRACKMOUSEEVENT] on MSDN

Enums

.

    /// The WM_MOUSEHOVER message is posted to a window when the cursor hovers over the client area of the window for the period of time specified in a prior call to TrackMouseEvent.

.

    /// The WM_MOUSELEAVE message is posted to a window when the cursor leaves the client area of the window specified in a prior call to TrackMouseEvent.

.

    /// The WM_NCMOUSEHOVER message is posted to a window when the cursor hovers over the nonclient area of the window for the period of time specified in a prior call to TrackMouseEvent.

.

    /// The WM_NCMOUSELEAVE message is posted to a window when the cursor leaves the nonclient area of the window specified in a prior call to TrackMouseEvent.

.

    '''The WM_MOUSEHOVER message is posted to a window when the cursor hovers over the client area of the window for the period of time specified in a prior call to TrackMouseEvent.

.

    '''The WM_MOUSELEAVE message is posted to a window when the cursor leaves the client area of the window specified in a prior call to TrackMouseEvent.

.

    ''' The WM_NCMOUSELEAVE message is posted to a window when the cursor leaves the nonclient area of the window specified in a prior call to TrackMouseEvent.

.

    ''' period of time specified in a prior call to <c>TrackMouseEvent</c>.

.

    ''' window specified in a prior call to <c>TrackMouseEvent</c>.

.

    ''' window specified in a prior call to <c>TrackMouseEvent</c>.


 
Access PInvoke.net directly from VS: