Desktop Functions: Smart Device Functions:
|
Search Results for "TRACKMOUSEEVENT" in [All]user32
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. Constants2: WM
StructuresEnums
/// 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>. |