NativeMethods
Class
Definition
Namespace:Telerik.WinControls
Assembly:TelerikCommon.dll
Syntax:
C#
public static class NativeMethods
Inheritance: objectNativeMethods
Fields
C#
public const int CS_DBLCLKS = 8
C#
public const int CS_DROPSHADOW = 131072
C#
public const int CS_SAVEBITS = 2048
C#
public const int DCX_CLIPSIBLINGS = 16
C#
public const int DCX_INTERSECTRGN = 128
C#
public const int DCX_LOCKWINDOWUPDATE = 1024
C#
public const int DCX_VALIDATE = 2097152
C#
public const int DCX_WINDOW = 1
C#
public const int DWM_BB_BLURREGION = 2
C#
public const int DWM_BB_ENABLE = 1
C#
public const int DWM_BB_TRANSITIONONMAXIMIZED = 4
C#
public const int EM_LINEFROMCHAR = 201
C#
public const int EM_POSFROMCHAR = 214
C#
public const uint GC_ALLGESTURES = 1
C#
public const uint GC_PAN_WITH_GUTTER = 8
C#
public const uint GC_PAN_WITH_INERTIA = 16
C#
public const uint GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY = 4
C#
public const uint GC_PAN_WITH_SINGLE_FINGER_VERTICALLY = 2
C#
public const uint GC_PRESSANDTAP = 1
C#
public const uint GC_TWOFINGERTAP = 1
C#
public const uint GF_INERTIA = 2
C#
public const int GID_PRESSANDTAP = 7
C#
public const int GID_ROTATE = 5
C#
public const int GID_TWOFINGERTAP = 6
C#
public const int GW_HWNDFIRST = 0
C#
public const int GW_HWNDLAST = 1
C#
public const int GW_HWNDNEXT = 2
C#
public const int GW_HWNDPREV = 3
C#
public const int GWL_EXSTYLE = -20
C#
public const int GWL_HWNDPARENT = -8
C#
public const int GWL_WNDPROC = -4
C#
public const int HTBOTTOMLEFT = 16
C#
public const int HTBOTTOMRIGHT = 17
C#
public const int HTMAXBUTTON = 9
C#
public const int HTMINBUTTON = 8
C#
public const int HTSIZEFIRST = 10
C#
public const int HTSIZELAST = 17
C#
public const int HTTOPRIGHT = 14
C#
public const int HTTRANSPARENT = -1
C#
public static HandleRef HWND_BOTTOM
C#
public static HandleRef HWND_TOPMOST
C#
public const int ICON_SMALL = 0
C#
public const int LWA_COLORKEY = 1
C#
public const int MA_NOACTIVATE = 3
C#
public const int MF_ENABLED = 0
C#
public static HandleRef NullHandleRef
C#
public const int OBJ_BITMAP = 7
C#
public const int OBJ_ENHMETADC = 12
C#
public const int OBJ_EXTPEN = 11
C#
public const int OBJ_METADC = 4
C#
public const int OBJ_METAFILE = 9
C#
public const int OBJ_REGION = 8
C#
public const int PRF_CHECKVISIBLE = 1
C#
public const int PRF_CHILDREN = 16
C#
public const int PRF_CLIENT = 4
C#
public const int PRF_ERASEBKGND = 8
C#
public const int PRF_NONCLIENT = 2
C#
public const int RDW_ALLCHILDREN = 128
C#
public const int RDW_ERASENOW = 512
C#
public const int RDW_INVALIDATE = 1
C#
public const int RDW_UPDATENOW = 256
C#
public const int SC_CONTEXTHELP = 61824
C#
public const int SC_KEYMENU = 61696
C#
public const int SC_MAXIMIZE = 61488
C#
public const int SC_MINIMIZE = 61472
C#
public const int SC_RESTORE = 61728
C#
public const uint SHGFI_ICON = 256
C#
public const uint SHGFI_LARGEICON = 0
C#
public const uint SHGFI_SMALLICON = 1
C#
public const int SIZE_MAXIMIZED = 2
C#
public const int SIZE_MINIMIZED = 1
C#
public const int SIZE_RESTORED = 0
C#
public const int SW_SHOWNOACTIVATE = 4
C#
public const int SWP_DEFERERASE = 8192
C#
public const int SWP_DRAWFRAME = 32
C#
public const int SWP_FRAMECHANGED = 32
C#
public const int SWP_HIDEWINDOW = 128
C#
public const int SWP_NOACTIVATE = 16
C#
public const int SWP_NOCOPYBITS = 256
C#
public const int SWP_NOMOVE = 2
C#
public const int SWP_NOOWNERZORDER = 512
C#
public const int SWP_NOREDRAW = 8
C#
public const int SWP_NOSENDCHANGING = 1024
C#
public const int SWP_NOSIZE = 1
C#
public const int SWP_NOZORDER = 4
C#
public const int SWP_SHOWWINDOW = 64
C#
public const int TME_CANCEL = 8
C#
public const int TME_NONCLIENT = 16
C#
public static readonly int TTM_ADDTOOL
C#
public static readonly int TTM_DELTOOL
C#
public static readonly int TTM_ENUMTOOLS
C#
public static readonly int TTM_GETCURRENTTOOL
C#
public const int TTM_GETDELAYTIME = 1045
C#
public static readonly int TTM_GETTEXT
C#
public static readonly int TTM_GETTOOLINFO
C#
public static readonly int TTM_HITTEST
C#
public static readonly int TTM_NEWTOOLRECT
C#
public static readonly int TTM_SETTITLE
C#
public static readonly int TTM_SETTOOLINFO
C#
public static readonly int TTM_UPDATETIPTEXT
C#
public const int VK_CONTROL = 17
C#
public const int WA_CLICKACTIVE = 2
C#
public const int WM_ACTIVATE = 6
C#
public const int WM_ACTIVATEAPP = 28
C#
public const int WM_CAPTURECHANGED = 533
C#
public const int WM_COMMAND = 273
C#
public const int WM_CONTEXTMENU = 123
C#
public const int WM_DESTROY = 2
C#
public const int WM_DPICHANGED = 736
C#
public const int WM_DRAWITEM = 43
C#
public const int WM_DWMCOMPOSITIONCHANGED = 798
C#
public const int WM_ERASEBKGND = 20
C#
public const int WM_GESTURE = 281
C#
public const int WM_GETICON = 127
C#
public const int WM_GETMINMAXINFO = 36
C#
public const int WM_GETOBJECT = 61
C#
public const int WM_HSCROLL = 276
C#
public const int WM_IME_CHAR = 646
C#
public const int WM_INITMENUPOPUP = 279
C#
public const int WM_KEYDOWN = 256
C#
public const int WM_KEYFIRST = 256
C#
public const int WM_KEYLAST = 264
C#
public const int WM_KILLFOCUS = 8
C#
public const int WM_LBUTTONDBLCLK = 515
C#
public const int WM_LBUTTONDOWN = 513
C#
public const int WM_LBUTTONUP = 514
C#
public const int WM_MBUTTONDBLCLK = 521
C#
public const int WM_MBUTTONDOWN = 519
C#
public const int WM_MBUTTONUP = 520
C#
public const int WM_MDIACTIVATE = 546
C#
public const int WM_MEASUREITEM = 44
C#
public const int WM_MOUSEACTIVATE = 33
C#
public const int WM_MOUSEFIRST = 512
C#
public const int WM_MOUSELAST = 522
C#
public const int WM_MOUSELEAVE = 675
C#
public const int WM_MOUSEMOVE = 512
C#
public const int WM_MOUSEWHEEL = 522
C#
public const int WM_NCACTIVATE = 134
C#
public const int WM_NCCALCSIZE = 131
C#
public const int WM_NCCREATE = 129
C#
public const int WM_NCDESTROY = 130
C#
public const int WM_NCHITTEST = 132
C#
public const int WM_NCLBUTTONDBLCLK = 163
C#
public const int WM_NCLBUTTONDOWN = 161
C#
public const int WM_NCLBUTTONUP = 162
C#
public const int WM_NCMBUTTONDBLCLK = 169
C#
public const int WM_NCMBUTTONDOWN = 167
C#
public const int WM_NCMBUTTONUP = 168
C#
public const int WM_NCMOUSELEAVE = 674
C#
public const int WM_NCMOUSEMOVE = 160
C#
public const int WM_NCPAINT = 133
C#
public const int WM_NCRBUTTONDBLCLK = 166
C#
public const int WM_NCRBUTTONDOWN = 164
C#
public const int WM_NCRBUTTONUP = 165
C#
public const int WM_NCUAHDRAWCAPTION = 174
C#
public const int WM_NCUAHDRAWFRAME = 175
C#
public const int WM_PARENTNOTIFY = 528
C#
public const int WM_POPUPSYSTEMMENU = 787
C#
public const int WM_RBUTTONDBLCLK = 518
C#
public const int WM_RBUTTONDOWN = 516
C#
public const int WM_RBUTTONUP = 517
C#
public const int WM_SETFOCUS = 7
C#
public const int WM_SETICON = 128
C#
public const int WM_SETREDRAW = 11
C#
public const int WM_SETTEXT = 12
C#
public const int WM_SETTINGCHANGE = 26
C#
public const int WM_SHOWWINDOW = 24
C#
public const int WM_STYLECHANGED = 125
C#
public const int WM_SYSCHAR = 262
C#
public const int WM_SYSCOMMAND = 274
C#
public const int WM_SYSKEYDOWN = 260
C#
public const int WM_SYSKEYUP = 261
C#
public const int WM_VSCROLL = 277
C#
public const int WM_WINDOWPOSCHANGED = 71
C#
public const int WM_WINDOWPOSCHANGING = 70
C#
public const int WM_XBUTTONDBLCLK = 525
C#
public const int WM_XBUTTONDOWN = 523
C#
public const int WM_XBUTTONUP = 524
C#
public const int WMSZ_BOTTOM = 6
C#
public const int WMSZ_BOTTOMLEFT = 7
C#
public const int WMSZ_BOTTOMRIGHT = 8
C#
public const int WMSZ_RIGHT = 2
C#
public const int WMSZ_TOPLEFT = 4
C#
public const int WMSZ_TOPRIGHT = 5
C#
public const int WS_CAPTION = 12582912
C#
public const int WS_CLIPCHILDREN = 33554432
C#
public const int WS_CLIPSIBLINGS = 67108864
C#
public const int WS_DISABLED = 134217728
C#
public const int WS_DLGFRAME = 4194304
C#
public const int WS_EX_APPWINDOW = 262144
C#
public const int WS_EX_CLIENTEDGE = 512
C#
public const int WS_EX_COMPOSITED = 33554432
C#
public const int WS_EX_CONTEXTHELP = 1024
C#
public const int WS_EX_CONTROLPARENT = 65536
C#
public const int WS_EX_DLGMODALFRAME = 1
C#
public const int WS_EX_LAYERED = 524288
C#
public const int WS_EX_LAYOUTRTL = 4194304
C#
public const int WS_EX_LEFT = 0
C#
public const int WS_EX_LEFTSCROLLBAR = 16384
C#
public const int WS_EX_LTRREADING = 0
C#
public const int WS_EX_MDICHILD = 64
C#
public const long WS_EX_NOACTIVATE = 134217728
C#
public const int WS_EX_NOINHERITLAYOUT = 1048576
C#
public const int WS_EX_NOPARENTNOTIFY = 4
C#
public const int WS_EX_RIGHT = 4096
C#
public const int WS_EX_RIGHTSCROLLBAR = 0
C#
public const int WS_EX_RTLREADING = 8192
C#
public const int WS_EX_STATICEDGE = 131072
C#
public const int WS_EX_TOOLWINDOW = 128
C#
public const int WS_EX_TOPMOST = 8
C#
public const int WS_EX_TRANSPARENT = 32
C#
public const int WS_HSCROLL = 1048576
C#
public const int WS_MAXIMIZE = 16777216
C#
public const int WS_MAXIMIZEBOX = 65536
C#
public const int WS_MINIMIZE = 536870912
C#
public const int WS_MINIMIZEBOX = 131072
C#
public const int WS_OVERLAPPED = 0
C#
public const int WS_SYSMENU = 524288
C#
public const int WS_TABSTOP = 65536
C#
public const int WS_THICKFRAME = 262144
C#
public const int WS_VISIBLE = 268435456
C#
public const int WS_VSCROLL = 2097152
Properties
C#
public static int WM_MOUSEENTER { get; }
Methods
C#
public static extern bool _TrackMouseEvent(NativeMethods.TRACKMOUSEEVENT tme)
C#
public static extern IntPtr _WindowFromPoint(NativeMethods.POINTSTRUCT pt)
C#
public static extern bool AnimateWindow(IntPtr hwnd, int time, NativeMethods.AnimateWindowFlags flags)
C#
public static extern int ClientToScreen(HandleRef hWnd, NativeMethods.POINT pt)
C#
public static IntPtr CreateBrushIndirect(NativeMethods.LOGBRUSH lb)
C#
public static extern IntPtr CreateFontIndirect(NativeMethods.LOGFONT lplf)
C#
public static extern IntPtr CreateIconIndirect(ref NativeMethods.IconInfo icon)
C#
public static extern long DwmSetWindowAttribute(IntPtr hwnd, NativeMethods.DWMWINDOWATTRIBUTE attribute, ref NativeMethods.DWM_WINDOW_CORNER_PREFERENCE pvAttribute, uint cbAttribute)
C#
public static extern int EnumFontFamilies(IntPtr hdc, string lpszFamily, NativeMethods.FontEnumDelegate lpEnumFontFamProc, int lParam)
C#
public static extern int EnumFontFamiliesEx(IntPtr hdc, NativeMethods.LOGFONT lplf, NativeMethods.FontEnumDelegate lpEnumFontFamProc, int lParam, int dwFlags)
C#
public static extern IntPtr GetCurrentObject(IntPtr hdc, NativeMethods.GdiDcObject uObjectType)
C#
public static extern int GetFontUnicodeRanges(IntPtr hdc, NativeMethods.GlyphSet lpgs)
C#
public static extern bool GetIconInfo(IntPtr hIcon, ref NativeMethods.IconInfo pIconInfo)
C#
public static SizeF GetMonitorDpi(Screen screen, NativeMethods.DpiType dpiType)
C#
public static extern int GetObject(HandleRef hObject, int nSize, NativeMethods.BITMAP bm)
C#
public static extern int GetObject(HandleRef hObject, int nSize, NativeMethods.LOGBRUSH lb)
C#
public static extern int GetObject(HandleRef hObject, int nSize, NativeMethods.LOGFONT lf)
C#
public static extern int GetObject(HandleRef hObject, int nSize, NativeMethods.LOGPEN lp)
C#
public static int GetObject(HandleRef hObject, NativeMethods.LOGBRUSH lb)
C#
public static int GetObject(HandleRef hObject, NativeMethods.LOGFONT lp)
C#
public static int GetObject(HandleRef hObject, NativeMethods.LOGPEN lp)
C#
public static extern int GetTextFace(IntPtr hdc, int nCount, StringBuilder lpFaceName)
C#
public static extern bool GetTextMetrics(IntPtr hdc, out NativeMethods.TextMetric tm)
C#
public static extern bool GetUpdateRect(IntPtr hWnd, ref NativeMethods.RECT rect, bool bErase)
C#
public static extern IntPtr GetWindow(IntPtr hWnd, NativeMethods.GetWindow_Cmd uCmd)
C#
public static extern bool GetWindowRect(HandleRef hWnd, ref NativeMethods.RECT rect)
C#
public static extern bool InitCommonControlsEx(NativeMethods.INITCOMMONCONTROLSEX icc)
C#
public static extern bool InvertRect(IntPtr hDC, ref NativeMethods.RECT lprc)
C#
public static extern IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref NativeMethods.SHFILEINFO psfi, uint cbSizeFileInfo, uint uFlags)
C#
public static extern int UpdateLayeredWindow(IntPtr hwnd, IntPtr hdcDst, ref NativeMethods.POINTSTRUCT pptDst, ref NativeMethods.SIZESTRUCT psize, IntPtr hdcSrc, ref NativeMethods.POINTSTRUCT pprSrc, int crKey, ref NativeMethods.BLENDFUNCTION pblend, int dwFlags)