Class NativeMethods
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: TelerikCommon.dll
Syntax
public static class NativeMethods
Fields
CS_DBLCLKS
Declaration
public const int CS_DBLCLKS = 8
Field Value
System.Int32
|
CS_DROPSHADOW
Declaration
public const int CS_DROPSHADOW = 131072
Field Value
System.Int32
|
CS_SAVEBITS
Declaration
public const int CS_SAVEBITS = 2048
Field Value
System.Int32
|
DCX_CACHE
Declaration
public const int DCX_CACHE = 2
Field Value
System.Int32
|
DCX_CLIPSIBLINGS
Declaration
public const int DCX_CLIPSIBLINGS = 16
Field Value
System.Int32
|
DCX_INTERSECTRGN
Declaration
public const int DCX_INTERSECTRGN = 128
Field Value
System.Int32
|
DCX_LOCKWINDOWUPDATE
Declaration
public const int DCX_LOCKWINDOWUPDATE = 1024
Field Value
System.Int32
|
DCX_VALIDATE
Declaration
public const int DCX_VALIDATE = 2097152
Field Value
System.Int32
|
DCX_WINDOW
Declaration
public const int DCX_WINDOW = 1
Field Value
System.Int32
|
DWM_BB_BLURREGION
Declaration
public const int DWM_BB_BLURREGION = 2
Field Value
System.Int32
|
DWM_BB_ENABLE
Declaration
public const int DWM_BB_ENABLE = 1
Field Value
System.Int32
|
DWM_BB_TRANSITIONONMAXIMIZED
Declaration
public const int DWM_BB_TRANSITIONONMAXIMIZED = 4
Field Value
System.Int32
|
EM_LINEFROMCHAR
Declaration
public const int EM_LINEFROMCHAR = 201
Field Value
System.Int32
|
EM_POSFROMCHAR
Declaration
public const int EM_POSFROMCHAR = 214
Field Value
System.Int32
|
GA_PARENT
Declaration
public const int GA_PARENT = 1
Field Value
System.Int32
|
GA_ROOT
Declaration
public const int GA_ROOT = 2
Field Value
System.Int32
|
GC_ALLGESTURES
Declaration
public const uint GC_ALLGESTURES = 1U
Field Value
System.UInt32
|
GC_PAN
Declaration
public const uint GC_PAN = 1U
Field Value
System.UInt32
|
GC_PAN_WITH_GUTTER
Declaration
public const uint GC_PAN_WITH_GUTTER = 8U
Field Value
System.UInt32
|
GC_PAN_WITH_INERTIA
Declaration
public const uint GC_PAN_WITH_INERTIA = 16U
Field Value
System.UInt32
|
GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY
Declaration
public const uint GC_PAN_WITH_SINGLE_FINGER_HORIZONTALLY = 4U
Field Value
System.UInt32
|
GC_PAN_WITH_SINGLE_FINGER_VERTICALLY
Declaration
public const uint GC_PAN_WITH_SINGLE_FINGER_VERTICALLY = 2U
Field Value
System.UInt32
|
GC_PRESSANDTAP
Declaration
public const uint GC_PRESSANDTAP = 1U
Field Value
System.UInt32
|
GC_ROTATE
Declaration
public const uint GC_ROTATE = 1U
Field Value
System.UInt32
|
GC_TWOFINGERTAP
Declaration
public const uint GC_TWOFINGERTAP = 1U
Field Value
System.UInt32
|
GC_ZOOM
Declaration
public const uint GC_ZOOM = 1U
Field Value
System.UInt32
|
GCL_STYLE
Declaration
public const int GCL_STYLE = -26
Field Value
System.Int32
|
GF_BEGIN
Declaration
public const uint GF_BEGIN = 1U
Field Value
System.UInt32
|
GF_END
Declaration
public const uint GF_END = 4U
Field Value
System.UInt32
|
GF_INERTIA
Declaration
public const uint GF_INERTIA = 2U
Field Value
System.UInt32
|
GID_BEGIN
Declaration
public const int GID_BEGIN = 1
Field Value
System.Int32
|
GID_END
Declaration
public const int GID_END = 2
Field Value
System.Int32
|
GID_PAN
Declaration
public const int GID_PAN = 4
Field Value
System.Int32
|
GID_PRESSANDTAP
Declaration
public const int GID_PRESSANDTAP = 7
Field Value
System.Int32
|
GID_ROTATE
Declaration
public const int GID_ROTATE = 5
Field Value
System.Int32
|
GID_TWOFINGERTAP
Declaration
public const int GID_TWOFINGERTAP = 6
Field Value
System.Int32
|
GID_ZOOM
Declaration
public const int GID_ZOOM = 3
Field Value
System.Int32
|
GW_CHILD
Declaration
public const int GW_CHILD = 5
Field Value
System.Int32
|
GW_HWNDFIRST
Declaration
public const int GW_HWNDFIRST = 0
Field Value
System.Int32
|
GW_HWNDLAST
Declaration
public const int GW_HWNDLAST = 1
Field Value
System.Int32
|
GW_HWNDNEXT
Declaration
public const int GW_HWNDNEXT = 2
Field Value
System.Int32
|
GW_HWNDPREV
Declaration
public const int GW_HWNDPREV = 3
Field Value
System.Int32
|
GWL_EXSTYLE
Declaration
public const int GWL_EXSTYLE = -20
Field Value
System.Int32
|
GWL_HWNDPARENT
Declaration
public const int GWL_HWNDPARENT = -8
Field Value
System.Int32
|
GWL_ID
Declaration
public const int GWL_ID = -12
Field Value
System.Int32
|
GWL_STYLE
Declaration
public const int GWL_STYLE = -16
Field Value
System.Int32
|
GWL_WNDPROC
Declaration
public const int GWL_WNDPROC = -4
Field Value
System.Int32
|
HTBORDER
Declaration
public const int HTBORDER = 18
Field Value
System.Int32
|
HTBOTTOM
Declaration
public const int HTBOTTOM = 15
Field Value
System.Int32
|
HTBOTTOMLEFT
Declaration
public const int HTBOTTOMLEFT = 16
Field Value
System.Int32
|
HTBOTTOMRIGHT
Declaration
public const int HTBOTTOMRIGHT = 17
Field Value
System.Int32
|
HTCAPTION
Declaration
public const int HTCAPTION = 2
Field Value
System.Int32
|
HTCLIENT
Declaration
public const int HTCLIENT = 1
Field Value
System.Int32
|
HTCLOSE
Declaration
public const int HTCLOSE = 20
Field Value
System.Int32
|
HTERROR
Declaration
public const int HTERROR = -2
Field Value
System.Int32
|
HTGROWBOX
Declaration
public const int HTGROWBOX = 4
Field Value
System.Int32
|
HTHELP
Declaration
public const int HTHELP = 21
Field Value
System.Int32
|
HTHSCROLL
Declaration
public const int HTHSCROLL = 6
Field Value
System.Int32
|
HTLEFT
Declaration
public const int HTLEFT = 10
Field Value
System.Int32
|
HTMAXBUTTON
Declaration
public const int HTMAXBUTTON = 9
Field Value
System.Int32
|
HTMENU
Declaration
public const int HTMENU = 5
Field Value
System.Int32
|
HTMINBUTTON
Declaration
public const int HTMINBUTTON = 8
Field Value
System.Int32
|
HTNOWHERE
Declaration
public const int HTNOWHERE = 0
Field Value
System.Int32
|
HTOBJECT
Declaration
public const int HTOBJECT = 19
Field Value
System.Int32
|
HTREDUCE
Declaration
public const int HTREDUCE = 8
Field Value
System.Int32
|
HTRIGHT
Declaration
public const int HTRIGHT = 11
Field Value
System.Int32
|
HTSIZE
Declaration
public const int HTSIZE = 4
Field Value
System.Int32
|
HTSIZEFIRST
Declaration
public const int HTSIZEFIRST = 10
Field Value
System.Int32
|
HTSIZELAST
Declaration
public const int HTSIZELAST = 17
Field Value
System.Int32
|
HTSYSMENU
Declaration
public const int HTSYSMENU = 3
Field Value
System.Int32
|
HTTOP
Declaration
public const int HTTOP = 12
Field Value
System.Int32
|
HTTOPLEFT
Declaration
public const int HTTOPLEFT = 13
Field Value
System.Int32
|
HTTOPRIGHT
Declaration
public const int HTTOPRIGHT = 14
Field Value
System.Int32
|
HTTRANSPARENT
Declaration
public const int HTTRANSPARENT = -1
Field Value
System.Int32
|
HTVSCROLL
Declaration
public const int HTVSCROLL = 7
Field Value
System.Int32
|
HTZOOM
Declaration
public const int HTZOOM = 9
Field Value
System.Int32
|
HWND_BOTTOM
Declaration
public static HandleRef HWND_BOTTOM
Field Value
System.Runtime.InteropServices.HandleRef
|
HWND_TOP
Declaration
public static HandleRef HWND_TOP
Field Value
System.Runtime.InteropServices.HandleRef
|
HWND_TOPMOST
Declaration
public static HandleRef HWND_TOPMOST
Field Value
System.Runtime.InteropServices.HandleRef
|
ICON_BIG
Declaration
public const int ICON_BIG = 1
Field Value
System.Int32
|
ICON_SMALL
Declaration
public const int ICON_SMALL = 0
Field Value
System.Int32
|
LWA_ALPHA
Declaration
public const int LWA_ALPHA = 2
Field Value
System.Int32
|
LWA_COLORKEY
Declaration
public const int LWA_COLORKEY = 1
Field Value
System.Int32
|
MA_NOACTIVATE
Declaration
public const int MA_NOACTIVATE = 3
Field Value
System.Int32
|
MF_ENABLED
Declaration
public const int MF_ENABLED = 0
Field Value
System.Int32
|
MF_GRAYED
Declaration
public const int MF_GRAYED = 1
Field Value
System.Int32
|
NullHandleRef
Declaration
public static HandleRef NullHandleRef
Field Value
System.Runtime.InteropServices.HandleRef
|
OBJ_BITMAP
Declaration
public const int OBJ_BITMAP = 7
Field Value
System.Int32
|
OBJ_BRUSH
Declaration
public const int OBJ_BRUSH = 2
Field Value
System.Int32
|
OBJ_DC
Declaration
public const int OBJ_DC = 3
Field Value
System.Int32
|
OBJ_ENHMETADC
Declaration
public const int OBJ_ENHMETADC = 12
Field Value
System.Int32
|
OBJ_EXTPEN
Declaration
public const int OBJ_EXTPEN = 11
Field Value
System.Int32
|
OBJ_FONT
Declaration
public const int OBJ_FONT = 6
Field Value
System.Int32
|
OBJ_MEMDC
Declaration
public const int OBJ_MEMDC = 10
Field Value
System.Int32
|
OBJ_METADC
Declaration
public const int OBJ_METADC = 4
Field Value
System.Int32
|
OBJ_METAFILE
Declaration
public const int OBJ_METAFILE = 9
Field Value
System.Int32
|
OBJ_PAL
Declaration
public const int OBJ_PAL = 5
Field Value
System.Int32
|
OBJ_PEN
Declaration
public const int OBJ_PEN = 1
Field Value
System.Int32
|
OBJ_REGION
Declaration
public const int OBJ_REGION = 8
Field Value
System.Int32
|
PRF_CHECKVISIBLE
Declaration
public const int PRF_CHECKVISIBLE = 1
Field Value
System.Int32
|
PRF_CHILDREN
Declaration
public const int PRF_CHILDREN = 16
Field Value
System.Int32
|
PRF_CLIENT
Declaration
public const int PRF_CLIENT = 4
Field Value
System.Int32
|
PRF_ERASEBKGND
Declaration
public const int PRF_ERASEBKGND = 8
Field Value
System.Int32
|
PRF_NONCLIENT
Declaration
public const int PRF_NONCLIENT = 2
Field Value
System.Int32
|
PRF_OWNED
Declaration
public const int PRF_OWNED = 32
Field Value
System.Int32
|
RDW_ALLCHILDREN
Declaration
public const int RDW_ALLCHILDREN = 128
Field Value
System.Int32
|
RDW_ERASE
Declaration
public const int RDW_ERASE = 4
Field Value
System.Int32
|
RDW_ERASENOW
Declaration
public const int RDW_ERASENOW = 512
Field Value
System.Int32
|
RDW_FRAME
Declaration
public const int RDW_FRAME = 1024
Field Value
System.Int32
|
RDW_INVALIDATE
Declaration
public const int RDW_INVALIDATE = 1
Field Value
System.Int32
|
RDW_UPDATENOW
Declaration
public const int RDW_UPDATENOW = 256
Field Value
System.Int32
|
SC_CLOSE
Declaration
public const int SC_CLOSE = 61536
Field Value
System.Int32
|
SC_CONTEXTHELP
Declaration
public const int SC_CONTEXTHELP = 61824
Field Value
System.Int32
|
SC_KEYMENU
Declaration
public const int SC_KEYMENU = 61696
Field Value
System.Int32
|
SC_MAXIMIZE
Declaration
public const int SC_MAXIMIZE = 61488
Field Value
System.Int32
|
SC_MINIMIZE
Declaration
public const int SC_MINIMIZE = 61472
Field Value
System.Int32
|
SC_MOVE
Declaration
public const int SC_MOVE = 61456
Field Value
System.Int32
|
SC_RESTORE
Declaration
public const int SC_RESTORE = 61728
Field Value
System.Int32
|
SC_SIZE
Declaration
public const int SC_SIZE = 61440
Field Value
System.Int32
|
SHGFI_ICON
Declaration
public const uint SHGFI_ICON = 256U
Field Value
System.UInt32
|
SHGFI_LARGEICON
Declaration
public const uint SHGFI_LARGEICON = 0U
Field Value
System.UInt32
|
SHGFI_SMALLICON
Declaration
public const uint SHGFI_SMALLICON = 1U
Field Value
System.UInt32
|
SIZE_MAXIMIZED
Declaration
public const int SIZE_MAXIMIZED = 2
Field Value
System.Int32
|
SIZE_MINIMIZED
Declaration
public const int SIZE_MINIMIZED = 1
Field Value
System.Int32
|
SIZE_RESTORED
Declaration
public const int SIZE_RESTORED = 0
Field Value
System.Int32
|
SRCAND
Declaration
public const int SRCAND = 8913094
Field Value
System.Int32
|
SRCCOPY
Declaration
public const int SRCCOPY = 13369376
Field Value
System.Int32
|
SRCPAINT
Declaration
public const int SRCPAINT = 15597702
Field Value
System.Int32
|
SW_SHOWNOACTIVATE
Declaration
public const int SW_SHOWNOACTIVATE = 4
Field Value
System.Int32
|
SWP_DEFERERASE
Declaration
public const int SWP_DEFERERASE = 8192
Field Value
System.Int32
|
SWP_DRAWFRAME
Declaration
public const int SWP_DRAWFRAME = 32
Field Value
System.Int32
|
SWP_FRAMECHANGED
Declaration
public const int SWP_FRAMECHANGED = 32
Field Value
System.Int32
|
SWP_HIDEWINDOW
Declaration
public const int SWP_HIDEWINDOW = 128
Field Value
System.Int32
|
SWP_NOACTIVATE
Declaration
public const int SWP_NOACTIVATE = 16
Field Value
System.Int32
|
SWP_NOCOPYBITS
Declaration
public const int SWP_NOCOPYBITS = 256
Field Value
System.Int32
|
SWP_NOMOVE
Declaration
public const int SWP_NOMOVE = 2
Field Value
System.Int32
|
SWP_NOOWNERZORDER
Declaration
public const int SWP_NOOWNERZORDER = 512
Field Value
System.Int32
|
SWP_NOREDRAW
Declaration
public const int SWP_NOREDRAW = 8
Field Value
System.Int32
|
SWP_NOSENDCHANGING
Declaration
public const int SWP_NOSENDCHANGING = 1024
Field Value
System.Int32
|
SWP_NOSIZE
Declaration
public const int SWP_NOSIZE = 1
Field Value
System.Int32
|
SWP_NOZORDER
Declaration
public const int SWP_NOZORDER = 4
Field Value
System.Int32
|
SWP_SHOWWINDOW
Declaration
public const int SWP_SHOWWINDOW = 64
Field Value
System.Int32
|
TME_CANCEL
Declaration
public const int TME_CANCEL = 8
Field Value
System.Int32
|
TME_HOVER
Declaration
public const int TME_HOVER = 1
Field Value
System.Int32
|
TME_LEAVE
Declaration
public const int TME_LEAVE = 2
Field Value
System.Int32
|
TME_NONCLIENT
Declaration
public const int TME_NONCLIENT = 16
Field Value
System.Int32
|
TME_QUERY
Declaration
public const int TME_QUERY = 1073741824
Field Value
System.Int32
|
TTM_ADDTOOL
Declaration
public static readonly int TTM_ADDTOOL
Field Value
System.Int32
|
TTM_DELTOOL
Declaration
public static readonly int TTM_DELTOOL
Field Value
System.Int32
|
TTM_ENUMTOOLS
Declaration
public static readonly int TTM_ENUMTOOLS
Field Value
System.Int32
|
TTM_GETCURRENTTOOL
Declaration
public static readonly int TTM_GETCURRENTTOOL
Field Value
System.Int32
|
TTM_GETDELAYTIME
Declaration
public const int TTM_GETDELAYTIME = 1045
Field Value
System.Int32
|
TTM_GETTEXT
Declaration
public static readonly int TTM_GETTEXT
Field Value
System.Int32
|
TTM_GETTOOLINFO
Declaration
public static readonly int TTM_GETTOOLINFO
Field Value
System.Int32
|
TTM_HITTEST
Declaration
public static readonly int TTM_HITTEST
Field Value
System.Int32
|
TTM_NEWTOOLRECT
Declaration
public static readonly int TTM_NEWTOOLRECT
Field Value
System.Int32
|
TTM_SETTITLE
Declaration
public static readonly int TTM_SETTITLE
Field Value
System.Int32
|
TTM_SETTOOLINFO
Declaration
public static readonly int TTM_SETTOOLINFO
Field Value
System.Int32
|
TTM_UPDATETIPTEXT
Declaration
public static readonly int TTM_UPDATETIPTEXT
Field Value
System.Int32
|
VK_CONTROL
Declaration
public const int VK_CONTROL = 17
Field Value
System.Int32
|
VK_DOWN
Declaration
public const int VK_DOWN = 40
Field Value
System.Int32
|
VK_ESCAPE
Declaration
public const int VK_ESCAPE = 27
Field Value
System.Int32
|
VK_INSERT
Declaration
public const int VK_INSERT = 45
Field Value
System.Int32
|
VK_LEFT
Declaration
public const int VK_LEFT = 37
Field Value
System.Int32
|
VK_MENU
Declaration
public const int VK_MENU = 18
Field Value
System.Int32
|
VK_RETURN
Declaration
public const int VK_RETURN = 13
Field Value
System.Int32
|
VK_RIGHT
Declaration
public const int VK_RIGHT = 39
Field Value
System.Int32
|
VK_SHIFT
Declaration
public const int VK_SHIFT = 16
Field Value
System.Int32
|
VK_SPACE
Declaration
public const int VK_SPACE = 32
Field Value
System.Int32
|
VK_TAB
Declaration
public const int VK_TAB = 9
Field Value
System.Int32
|
VK_UP
Declaration
public const int VK_UP = 38
Field Value
System.Int32
|
WA_ACTIVE
Declaration
public const int WA_ACTIVE = 1
Field Value
System.Int32
|
WA_CLICKACTIVE
Declaration
public const int WA_CLICKACTIVE = 2
Field Value
System.Int32
|
WM_ACTIVATE
Declaration
public const int WM_ACTIVATE = 6
Field Value
System.Int32
|
WM_ACTIVATEAPP
Declaration
public const int WM_ACTIVATEAPP = 28
Field Value
System.Int32
|
WM_CAPTURECHANGED
Declaration
public const int WM_CAPTURECHANGED = 533
Field Value
System.Int32
|
WM_CHAR
Declaration
public const int WM_CHAR = 258
Field Value
System.Int32
|
WM_COMMAND
Declaration
public const int WM_COMMAND = 273
Field Value
System.Int32
|
WM_CREATE
Declaration
public const int WM_CREATE = 1
Field Value
System.Int32
|
WM_DESTROY
Declaration
public const int WM_DESTROY = 2
Field Value
System.Int32
|
WM_DPICHANGED
Declaration
public const int WM_DPICHANGED = 736
Field Value
System.Int32
|
WM_DRAWITEM
Declaration
public const int WM_DRAWITEM = 43
Field Value
System.Int32
|
WM_DWMCOMPOSITIONCHANGED
Declaration
public const int WM_DWMCOMPOSITIONCHANGED = 798
Field Value
System.Int32
|
WM_ERASEBKGND
Declaration
public const int WM_ERASEBKGND = 20
Field Value
System.Int32
|
WM_GESTURE
Declaration
public const int WM_GESTURE = 281
Field Value
System.Int32
|
WM_GETICON
Declaration
public const int WM_GETICON = 127
Field Value
System.Int32
|
WM_GETMINMAXINFO
Declaration
public const int WM_GETMINMAXINFO = 36
Field Value
System.Int32
|
WM_GETOBJECT
Declaration
public const int WM_GETOBJECT = 61
Field Value
System.Int32
|
WM_HELP
Declaration
public const int WM_HELP = 83
Field Value
System.Int32
|
WM_HSCROLL
Declaration
public const int WM_HSCROLL = 276
Field Value
System.Int32
|
WM_IME_CHAR
Declaration
public const int WM_IME_CHAR = 646
Field Value
System.Int32
|
WM_INITMENUPOPUP
Declaration
public const int WM_INITMENUPOPUP = 279
Field Value
System.Int32
|
WM_KEYDOWN
Declaration
public const int WM_KEYDOWN = 256
Field Value
System.Int32
|
WM_KEYFIRST
Declaration
public const int WM_KEYFIRST = 256
Field Value
System.Int32
|
WM_KEYLAST
Declaration
public const int WM_KEYLAST = 264
Field Value
System.Int32
|
WM_KEYUP
Declaration
public const int WM_KEYUP = 257
Field Value
System.Int32
|
WM_KILLFOCUS
Declaration
public const int WM_KILLFOCUS = 8
Field Value
System.Int32
|
WM_LBUTTONDBLCLK
Declaration
public const int WM_LBUTTONDBLCLK = 515
Field Value
System.Int32
|
WM_LBUTTONDOWN
Declaration
public const int WM_LBUTTONDOWN = 513
Field Value
System.Int32
|
WM_LBUTTONUP
Declaration
public const int WM_LBUTTONUP = 514
Field Value
System.Int32
|
WM_MBUTTONDBLCLK
Declaration
public const int WM_MBUTTONDBLCLK = 521
Field Value
System.Int32
|
WM_MBUTTONDOWN
Declaration
public const int WM_MBUTTONDOWN = 519
Field Value
System.Int32
|
WM_MBUTTONUP
Declaration
public const int WM_MBUTTONUP = 520
Field Value
System.Int32
|
WM_MDIACTIVATE
Declaration
public const int WM_MDIACTIVATE = 546
Field Value
System.Int32
|
WM_MEASUREITEM
Declaration
public const int WM_MEASUREITEM = 44
Field Value
System.Int32
|
WM_MOUSEACTIVATE
Declaration
public const int WM_MOUSEACTIVATE = 33
Field Value
System.Int32
|
WM_MOUSEFIRST
Declaration
public const int WM_MOUSEFIRST = 512
Field Value
System.Int32
|
WM_MOUSELAST
Declaration
public const int WM_MOUSELAST = 522
Field Value
System.Int32
|
WM_MOUSELEAVE
Declaration
public const int WM_MOUSELEAVE = 675
Field Value
System.Int32
|
WM_MOUSEMOVE
Declaration
public const int WM_MOUSEMOVE = 512
Field Value
System.Int32
|
WM_MOUSEWHEEL
Declaration
public const int WM_MOUSEWHEEL = 522
Field Value
System.Int32
|
WM_MOVE
Declaration
public const int WM_MOVE = 3
Field Value
System.Int32
|
WM_MOVING
Declaration
public const int WM_MOVING = 534
Field Value
System.Int32
|
WM_NCACTIVATE
Declaration
public const int WM_NCACTIVATE = 134
Field Value
System.Int32
|
WM_NCCALCSIZE
Declaration
public const int WM_NCCALCSIZE = 131
Field Value
System.Int32
|
WM_NCCREATE
Declaration
public const int WM_NCCREATE = 129
Field Value
System.Int32
|
WM_NCDESTROY
Declaration
public const int WM_NCDESTROY = 130
Field Value
System.Int32
|
WM_NCHITTEST
Declaration
public const int WM_NCHITTEST = 132
Field Value
System.Int32
|
WM_NCLBUTTONDBLCLK
Declaration
public const int WM_NCLBUTTONDBLCLK = 163
Field Value
System.Int32
|
WM_NCLBUTTONDOWN
Declaration
public const int WM_NCLBUTTONDOWN = 161
Field Value
System.Int32
|
WM_NCLBUTTONUP
Declaration
public const int WM_NCLBUTTONUP = 162
Field Value
System.Int32
|
WM_NCMBUTTONDBLCLK
Declaration
public const int WM_NCMBUTTONDBLCLK = 169
Field Value
System.Int32
|
WM_NCMBUTTONDOWN
Declaration
public const int WM_NCMBUTTONDOWN = 167
Field Value
System.Int32
|
WM_NCMBUTTONUP
Declaration
public const int WM_NCMBUTTONUP = 168
Field Value
System.Int32
|
WM_NCMOUSELEAVE
Declaration
public const int WM_NCMOUSELEAVE = 674
Field Value
System.Int32
|
WM_NCMOUSEMOVE
Declaration
public const int WM_NCMOUSEMOVE = 160
Field Value
System.Int32
|
WM_NCPAINT
Declaration
public const int WM_NCPAINT = 133
Field Value
System.Int32
|
WM_NCRBUTTONDBLCLK
Declaration
public const int WM_NCRBUTTONDBLCLK = 166
Field Value
System.Int32
|
WM_NCRBUTTONDOWN
Declaration
public const int WM_NCRBUTTONDOWN = 164
Field Value
System.Int32
|
WM_NCRBUTTONUP
Declaration
public const int WM_NCRBUTTONUP = 165
Field Value
System.Int32
|
WM_NCUAHDRAWCAPTION
Declaration
public const int WM_NCUAHDRAWCAPTION = 174
Field Value
System.Int32
|
WM_NCUAHDRAWFRAME
Declaration
public const int WM_NCUAHDRAWFRAME = 175
Field Value
System.Int32
|
WM_PAINT
Declaration
public const int WM_PAINT = 15
Field Value
System.Int32
|
WM_PARENTNOTIFY
Declaration
public const int WM_PARENTNOTIFY = 528
Field Value
System.Int32
|
WM_POPUPSYSTEMMENU
Declaration
public const int WM_POPUPSYSTEMMENU = 787
Field Value
System.Int32
|
WM_PRINT
Declaration
public const int WM_PRINT = 791
Field Value
System.Int32
|
WM_RBUTTONDBLCLK
Declaration
public const int WM_RBUTTONDBLCLK = 518
Field Value
System.Int32
|
WM_RBUTTONDOWN
Declaration
public const int WM_RBUTTONDOWN = 516
Field Value
System.Int32
|
WM_RBUTTONUP
Declaration
public const int WM_RBUTTONUP = 517
Field Value
System.Int32
|
WM_SETFOCUS
Declaration
public const int WM_SETFOCUS = 7
Field Value
System.Int32
|
WM_SETICON
Declaration
public const int WM_SETICON = 128
Field Value
System.Int32
|
WM_SETREDRAW
Declaration
public const int WM_SETREDRAW = 11
Field Value
System.Int32
|
WM_SETTEXT
Declaration
public const int WM_SETTEXT = 12
Field Value
System.Int32
|
WM_SETTINGCHANGE
Declaration
public const int WM_SETTINGCHANGE = 26
Field Value
System.Int32
|
WM_SHOWWINDOW
Declaration
public const int WM_SHOWWINDOW = 24
Field Value
System.Int32
|
WM_SIZE
Declaration
public const int WM_SIZE = 5
Field Value
System.Int32
|
WM_SIZING
Declaration
public const int WM_SIZING = 532
Field Value
System.Int32
|
WM_STYLECHANGED
Declaration
public const int WM_STYLECHANGED = 125
Field Value
System.Int32
|
WM_SYSCHAR
Declaration
public const int WM_SYSCHAR = 262
Field Value
System.Int32
|
WM_SYSCOMMAND
Declaration
public const int WM_SYSCOMMAND = 274
Field Value
System.Int32
|
WM_SYSKEYDOWN
Declaration
public const int WM_SYSKEYDOWN = 260
Field Value
System.Int32
|
WM_SYSKEYUP
Declaration
public const int WM_SYSKEYUP = 261
Field Value
System.Int32
|
WM_VSCROLL
Declaration
public const int WM_VSCROLL = 277
Field Value
System.Int32
|
WM_WINDOWPOSCHANGED
Declaration
public const int WM_WINDOWPOSCHANGED = 71
Field Value
System.Int32
|
WM_WINDOWPOSCHANGING
Declaration
public const int WM_WINDOWPOSCHANGING = 70
Field Value
System.Int32
|
WM_XBUTTONDBLCLK
Declaration
public const int WM_XBUTTONDBLCLK = 525
Field Value
System.Int32
|
WM_XBUTTONDOWN
Declaration
public const int WM_XBUTTONDOWN = 523
Field Value
System.Int32
|
WM_XBUTTONUP
Declaration
public const int WM_XBUTTONUP = 524
Field Value
System.Int32
|
WMSZ_BOTTOM
Declaration
public const int WMSZ_BOTTOM = 6
Field Value
System.Int32
|
WMSZ_BOTTOMLEFT
Declaration
public const int WMSZ_BOTTOMLEFT = 7
Field Value
System.Int32
|
WMSZ_BOTTOMRIGHT
Declaration
public const int WMSZ_BOTTOMRIGHT = 8
Field Value
System.Int32
|
WMSZ_LEFT
Declaration
public const int WMSZ_LEFT = 1
Field Value
System.Int32
|
WMSZ_RIGHT
Declaration
public const int WMSZ_RIGHT = 2
Field Value
System.Int32
|
WMSZ_TOP
Declaration
public const int WMSZ_TOP = 3
Field Value
System.Int32
|
WMSZ_TOPLEFT
Declaration
public const int WMSZ_TOPLEFT = 4
Field Value
System.Int32
|
WMSZ_TOPRIGHT
Declaration
public const int WMSZ_TOPRIGHT = 5
Field Value
System.Int32
|
WS_BORDER
Declaration
public const int WS_BORDER = 8388608
Field Value
System.Int32
|
WS_CAPTION
Declaration
public const int WS_CAPTION = 12582912
Field Value
System.Int32
|
WS_CHILD
Declaration
public const int WS_CHILD = 1073741824
Field Value
System.Int32
|
WS_CLIPCHILDREN
Declaration
public const int WS_CLIPCHILDREN = 33554432
Field Value
System.Int32
|
WS_CLIPSIBLINGS
Declaration
public const int WS_CLIPSIBLINGS = 67108864
Field Value
System.Int32
|
WS_DISABLED
Declaration
public const int WS_DISABLED = 134217728
Field Value
System.Int32
|
WS_DLGFRAME
Declaration
public const int WS_DLGFRAME = 4194304
Field Value
System.Int32
|
WS_EX_APPWINDOW
Declaration
public const int WS_EX_APPWINDOW = 262144
Field Value
System.Int32
|
WS_EX_CLIENTEDGE
Declaration
public const int WS_EX_CLIENTEDGE = 512
Field Value
System.Int32
|
WS_EX_COMPOSITED
Declaration
public const int WS_EX_COMPOSITED = 33554432
Field Value
System.Int32
|
WS_EX_CONTEXTHELP
Declaration
public const int WS_EX_CONTEXTHELP = 1024
Field Value
System.Int32
|
WS_EX_CONTROLPARENT
Declaration
public const int WS_EX_CONTROLPARENT = 65536
Field Value
System.Int32
|
WS_EX_DLGMODALFRAME
Declaration
public const int WS_EX_DLGMODALFRAME = 1
Field Value
System.Int32
|
WS_EX_LAYERED
Declaration
public const int WS_EX_LAYERED = 524288
Field Value
System.Int32
|
WS_EX_LAYOUTRTL
Declaration
public const int WS_EX_LAYOUTRTL = 4194304
Field Value
System.Int32
|
WS_EX_LEFT
Declaration
public const int WS_EX_LEFT = 0
Field Value
System.Int32
|
WS_EX_LEFTSCROLLBAR
Declaration
public const int WS_EX_LEFTSCROLLBAR = 16384
Field Value
System.Int32
|
WS_EX_LTRREADING
Declaration
public const int WS_EX_LTRREADING = 0
Field Value
System.Int32
|
WS_EX_MDICHILD
Declaration
public const int WS_EX_MDICHILD = 64
Field Value
System.Int32
|
WS_EX_NOACTIVATE
Declaration
public const long WS_EX_NOACTIVATE = 134217728L
Field Value
System.Int64
|
WS_EX_NOINHERITLAYOUT
Declaration
public const int WS_EX_NOINHERITLAYOUT = 1048576
Field Value
System.Int32
|
WS_EX_NOPARENTNOTIFY
Declaration
public const int WS_EX_NOPARENTNOTIFY = 4
Field Value
System.Int32
|
WS_EX_RIGHT
Declaration
public const int WS_EX_RIGHT = 4096
Field Value
System.Int32
|
WS_EX_RIGHTSCROLLBAR
Declaration
public const int WS_EX_RIGHTSCROLLBAR = 0
Field Value
System.Int32
|
WS_EX_RTLREADING
Declaration
public const int WS_EX_RTLREADING = 8192
Field Value
System.Int32
|
WS_EX_STATICEDGE
Declaration
public const int WS_EX_STATICEDGE = 131072
Field Value
System.Int32
|
WS_EX_TOOLWINDOW
Declaration
public const int WS_EX_TOOLWINDOW = 128
Field Value
System.Int32
|
WS_EX_TOPMOST
Declaration
public const int WS_EX_TOPMOST = 8
Field Value
System.Int32
|
WS_EX_TRANSPARENT
Declaration
public const int WS_EX_TRANSPARENT = 32
Field Value
System.Int32
|
WS_HSCROLL
Declaration
public const int WS_HSCROLL = 1048576
Field Value
System.Int32
|
WS_MAXIMIZE
Declaration
public const int WS_MAXIMIZE = 16777216
Field Value
System.Int32
|
WS_MAXIMIZEBOX
Declaration
public const int WS_MAXIMIZEBOX = 65536
Field Value
System.Int32
|
WS_MINIMIZE
Declaration
public const int WS_MINIMIZE = 536870912
Field Value
System.Int32
|
WS_MINIMIZEBOX
Declaration
public const int WS_MINIMIZEBOX = 131072
Field Value
System.Int32
|
WS_OVERLAPPED
Declaration
public const int WS_OVERLAPPED = 0
Field Value
System.Int32
|
WS_POPUP
Declaration
public const int WS_POPUP = -2147483648
Field Value
System.Int32
|
WS_SYSMENU
Declaration
public const int WS_SYSMENU = 524288
Field Value
System.Int32
|
WS_TABSTOP
Declaration
public const int WS_TABSTOP = 65536
Field Value
System.Int32
|
WS_THICKFRAME
Declaration
public const int WS_THICKFRAME = 262144
Field Value
System.Int32
|
WS_VISIBLE
Declaration
public const int WS_VISIBLE = 268435456
Field Value
System.Int32
|
WS_VSCROLL
Declaration
public const int WS_VSCROLL = 2097152
Field Value
System.Int32
|
Properties
WM_MOUSEENTER
Declaration
public static int WM_MOUSEENTER { get; }
Property Value
System.Int32
|
Methods
_TrackMouseEvent(NativeMethods.TRACKMOUSEEVENT)
Declaration
public static bool _TrackMouseEvent(NativeMethods.TRACKMOUSEEVENT tme)
Parameters
NativeMethods.TRACKMOUSEEVENT
tme
|
Returns
System.Boolean
|
_WindowFromPoint(NativeMethods.POINTSTRUCT)
Declaration
public static IntPtr _WindowFromPoint(NativeMethods.POINTSTRUCT pt)
Parameters
NativeMethods.POINTSTRUCT
pt
|
Returns
System.IntPtr
|
AddFontResourceEx(String, Int32, Int32)
Declaration
public static int AddFontResourceEx(string lpszFilename, int fl, int pdv)
Parameters
System.String
lpszFilename
|
System.Int32
fl
|
System.Int32
pdv
|
Returns
System.Int32
|
AdjustWindowRectEx(ref NativeMethods.RECT, Int32, Boolean, Int32)
Declaration
public static bool AdjustWindowRectEx(ref NativeMethods.RECT lpRect, int dwStyle, bool bMenu, int dwExStyle)
Parameters
NativeMethods.RECT
lpRect
|
System.Int32
dwStyle
|
System.Boolean
bMenu
|
System.Int32
dwExStyle
|
Returns
System.Boolean
|
AnimateWindow(IntPtr, Int32, NativeMethods.AnimateWindowFlags)
Declaration
public static bool AnimateWindow(IntPtr hwnd, int time, NativeMethods.AnimateWindowFlags flags)
Parameters
System.IntPtr
hwnd
|
System.Int32
time
|
NativeMethods.AnimateWindowFlags
flags
|
Returns
System.Boolean
|
ApplyRoundedCorners(IntPtr, Int32)
Declaration
public static long ApplyRoundedCorners(IntPtr handle, int cornersStyle)
Parameters
System.IntPtr
handle
|
System.Int32
cornersStyle
|
Returns
System.Int64
|
AreDpiAwarenessContextsEqual(IntPtr, IntPtr)
Declaration
public static bool AreDpiAwarenessContextsEqual(IntPtr dpiContextA, IntPtr dpiContextB)
Parameters
System.IntPtr
dpiContextA
|
System.IntPtr
dpiContextB
|
Returns
System.Boolean
|
BitBlt(IntPtr, Int32, Int32, Int32, Int32, IntPtr, Int32, Int32, Int32)
Declaration
public static bool BitBlt(IntPtr hDC, int x, int y, int nWidth, int nHeight, IntPtr hSrcDC, int xSrc, int ySrc, int dwRop)
Parameters
System.IntPtr
hDC
|
System.Int32
x
|
System.Int32
y
|
System.Int32
nWidth
|
System.Int32
nHeight
|
System.IntPtr
hSrcDC
|
System.Int32
xSrc
|
System.Int32
ySrc
|
System.Int32
dwRop
|
Returns
System.Boolean
|
BitBlt(IntPtr, Int32, Int32, Int32, Int32, IntPtr, Int32, Int32, Int64)
Declaration
public static bool BitBlt(IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, long dwRop)
Parameters
System.IntPtr
hdcDest
|
System.Int32
nXDest
|
System.Int32
nYDest
|
System.Int32
nWidth
|
System.Int32
nHeight
|
System.IntPtr
hdcSrc
|
System.Int32
nXSrc
|
System.Int32
nYSrc
|
System.Int64
dwRop
|
Returns
System.Boolean
|
ClientToScreen(HandleRef, NativeMethods.POINT)
Declaration
public static int ClientToScreen(HandleRef hWnd, NativeMethods.POINT pt)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
NativeMethods.POINT
pt
|
Returns
System.Int32
|
CreateBitmap(Int32, Int32, Int32, Int32, Byte[])
Declaration
public static IntPtr CreateBitmap(int nWidth, int nHeight, int nPlanes, int nBitsPerPixel, byte[] lpvBits)
Parameters
System.Int32
nWidth
|
System.Int32
nHeight
|
System.Int32
nPlanes
|
System.Int32
nBitsPerPixel
|
System.Byte[]
lpvBits
|
Returns
System.IntPtr
|
CreateBitmap(Int32, Int32, Int32, Int32, Int16[])
Declaration
public static IntPtr CreateBitmap(int nWidth, int nHeight, int nPlanes, int nBitsPerPixel, short[] lpvBits)
Parameters
System.Int32
nWidth
|
System.Int32
nHeight
|
System.Int32
nPlanes
|
System.Int32
nBitsPerPixel
|
System.Int16[]
lpvBits
|
Returns
System.IntPtr
|
CreateBitmap(Int32, Int32, Int32, Int32, IntPtr)
Declaration
public static IntPtr CreateBitmap(int nWidth, int nHeight, int nPlanes, int nBitsPerPixel, IntPtr lpvBits)
Parameters
System.Int32
nWidth
|
System.Int32
nHeight
|
System.Int32
nPlanes
|
System.Int32
nBitsPerPixel
|
System.IntPtr
lpvBits
|
Returns
System.IntPtr
|
CreateBrushIndirect(NativeMethods.LOGBRUSH)
Declaration
public static IntPtr CreateBrushIndirect(NativeMethods.LOGBRUSH lb)
Parameters
NativeMethods.LOGBRUSH
lb
|
Returns
System.IntPtr
|
CreateCompatibleDC(IntPtr)
Declaration
public static IntPtr CreateCompatibleDC(IntPtr hdc)
Parameters
System.IntPtr
hdc
|
Returns
System.IntPtr
|
CreateCompatibleDC(HandleRef)
Declaration
public static IntPtr CreateCompatibleDC(HandleRef hDC)
Parameters
System.Runtime.InteropServices.HandleRef
hDC
|
Returns
System.IntPtr
|
CreateDC(String, String, String, IntPtr)
Declaration
public static IntPtr CreateDC(string strDriver, string strDevice, string strOutput, IntPtr pData)
Parameters
System.String
strDriver
|
System.String
strDevice
|
System.String
strOutput
|
System.IntPtr
pData
|
Returns
System.IntPtr
|
CreateFontIndirect(NativeMethods.LOGFONT)
Declaration
public static IntPtr CreateFontIndirect(NativeMethods.LOGFONT lplf)
Parameters
NativeMethods.LOGFONT
lplf
|
Returns
System.IntPtr
|
CreateIconIndirect(ref NativeMethods.IconInfo)
Declaration
public static IntPtr CreateIconIndirect(ref NativeMethods.IconInfo icon)
Parameters
NativeMethods.IconInfo
icon
|
Returns
System.IntPtr
|
CreateRoundRectRgn(Rectangle, Int32)
Declaration
public static Region CreateRoundRectRgn(Rectangle bounds, int radius)
Parameters
System.Drawing.Rectangle
bounds
|
System.Int32
radius
|
Returns
System.Drawing.Region
|
CreateRoundRectRgn(Int32, Int32, Int32, Int32, Int32, Int32)
Declaration
public static IntPtr CreateRoundRectRgn(int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidthEllipse, int nHeightEllipse)
Parameters
System.Int32
nLeftRect
|
System.Int32
nTopRect
|
System.Int32
nRightRect
|
System.Int32
nBottomRect
|
System.Int32
nWidthEllipse
|
System.Int32
nHeightEllipse
|
Returns
System.IntPtr
|
DeleteDC(IntPtr)
Declaration
public static bool DeleteDC(IntPtr hdc)
Parameters
System.IntPtr
hdc
|
Returns
System.Boolean
|
DeleteDC(HandleRef)
Declaration
public static bool DeleteDC(HandleRef hDC)
Parameters
System.Runtime.InteropServices.HandleRef
hDC
|
Returns
System.Boolean
|
DeleteObject(IntPtr)
Declaration
public static bool DeleteObject(IntPtr hObject)
Parameters
System.IntPtr
hObject
|
Returns
System.Boolean
|
DeleteObject(HandleRef)
Declaration
public static bool DeleteObject(HandleRef hObject)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
Returns
System.Boolean
|
DestroyIcon(IntPtr)
Declaration
public static bool DestroyIcon(IntPtr hIcon)
Parameters
System.IntPtr
hIcon
|
Returns
System.Boolean
|
DwmSetWindowAttribute(IntPtr, NativeMethods.DWMWINDOWATTRIBUTE, ref NativeMethods.DWM_WINDOW_CORNER_PREFERENCE, UInt32)
Declaration
public static long DwmSetWindowAttribute(IntPtr hwnd, NativeMethods.DWMWINDOWATTRIBUTE attribute, ref NativeMethods.DWM_WINDOW_CORNER_PREFERENCE pvAttribute, uint cbAttribute)
Parameters
System.IntPtr
hwnd
|
NativeMethods.DWMWINDOWATTRIBUTE
attribute
|
NativeMethods.DWM_WINDOW_CORNER_PREFERENCE
pvAttribute
|
System.UInt32
cbAttribute
|
Returns
System.Int64
|
EnableMenuItem(IntPtr, UInt32, UInt32)
Declaration
public static bool EnableMenuItem(IntPtr hMenu, uint uIDEnableItem, uint uEnable)
Parameters
System.IntPtr
hMenu
|
System.UInt32
uIDEnableItem
|
System.UInt32
uEnable
|
Returns
System.Boolean
|
EnumFontFamilies(IntPtr, String, NativeMethods.FontEnumDelegate, Int32)
Declaration
public static int EnumFontFamilies(IntPtr hdc, string lpszFamily, NativeMethods.FontEnumDelegate lpEnumFontFamProc, int lParam)
Parameters
System.IntPtr
hdc
|
System.String
lpszFamily
|
NativeMethods.FontEnumDelegate
lpEnumFontFamProc
|
System.Int32
lParam
|
Returns
System.Int32
|
EnumFontFamiliesEx(IntPtr, NativeMethods.LOGFONT, NativeMethods.FontEnumDelegate, Int32, Int32)
Declaration
public static int EnumFontFamiliesEx(IntPtr hdc, NativeMethods.LOGFONT lplf, NativeMethods.FontEnumDelegate lpEnumFontFamProc, int lParam, int dwFlags)
Parameters
System.IntPtr
hdc
|
NativeMethods.LOGFONT
lplf
|
NativeMethods.FontEnumDelegate
lpEnumFontFamProc
|
System.Int32
lParam
|
System.Int32
dwFlags
|
Returns
System.Int32
|
FreeLibrary(IntPtr)
Declaration
public static bool FreeLibrary(IntPtr hModule)
Parameters
System.IntPtr
hModule
|
Returns
System.Boolean
|
GetActiveWindow()
Declaration
public static IntPtr GetActiveWindow()
Returns
System.IntPtr
|
GetCapture()
Declaration
public static IntPtr GetCapture()
Returns
System.IntPtr
|
GetClassLongPtr(HandleRef, Int32)
Declaration
public static IntPtr GetClassLongPtr(HandleRef hWnd, int nIndex)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
Returns
System.IntPtr
|
GetClassLongPtr32(HandleRef, Int32)
Declaration
public static uint GetClassLongPtr32(HandleRef hWnd, int nIndex)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
Returns
System.UInt32
|
GetClassLongPtr64(HandleRef, Int32)
Declaration
public static IntPtr GetClassLongPtr64(HandleRef hWnd, int nIndex)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
Returns
System.IntPtr
|
GetCurrentObject(IntPtr, NativeMethods.GdiDcObject)
Declaration
public static IntPtr GetCurrentObject(IntPtr hdc, NativeMethods.GdiDcObject uObjectType)
Parameters
System.IntPtr
hdc
|
NativeMethods.GdiDcObject
uObjectType
|
Returns
System.IntPtr
|
GetCurrentObject(HandleRef, Int32)
Declaration
public static IntPtr GetCurrentObject(HandleRef hdc, int uObjectType)
Parameters
System.Runtime.InteropServices.HandleRef
hdc
|
System.Int32
uObjectType
|
Returns
System.IntPtr
|
GetDC(HandleRef)
Declaration
public static IntPtr GetDC(HandleRef hWnd)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
Returns
System.IntPtr
|
GetDCEx(HandleRef, HandleRef, Int32)
Declaration
public static IntPtr GetDCEx(HandleRef hWnd, HandleRef hrgnClip, int flags)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Runtime.InteropServices.HandleRef
hrgnClip
|
System.Int32
flags
|
Returns
System.IntPtr
|
GetDesktopWindow()
Declaration
public static IntPtr GetDesktopWindow()
Returns
System.IntPtr
|
GetDpiForWindow(IntPtr)
Declaration
public static IntPtr GetDpiForWindow(IntPtr hWnd)
Parameters
System.IntPtr
hWnd
|
Returns
System.IntPtr
|
GetFocus()
Declaration
public static IntPtr GetFocus()
Returns
System.IntPtr
|
GetFontData(IntPtr, Int32, Int32, Byte[], Int32)
Declaration
public static int GetFontData(IntPtr hdc, int dwTable, int dwOffset, byte[] lpvBuffer, int cbData)
Parameters
System.IntPtr
hdc
|
System.Int32
dwTable
|
System.Int32
dwOffset
|
System.Byte[]
lpvBuffer
|
System.Int32
cbData
|
Returns
System.Int32
|
GetFontUnicodeRanges(IntPtr, NativeMethods.GlyphSet)
Declaration
public static int GetFontUnicodeRanges(IntPtr hdc, NativeMethods.GlyphSet lpgs)
Parameters
System.IntPtr
hdc
|
NativeMethods.GlyphSet
lpgs
|
Returns
System.Int32
|
GetForegroundWindow()
Declaration
public static IntPtr GetForegroundWindow()
Returns
System.IntPtr
|
GetGlyphIndices(IntPtr, String, Int32, Int16[], Int32)
Declaration
public static int GetGlyphIndices(IntPtr hdc, string lpstr, int c, short[] pgi, int fl)
Parameters
System.IntPtr
hdc
|
System.String
lpstr
|
System.Int32
c
|
System.Int16[]
pgi
|
System.Int32
fl
|
Returns
System.Int32
|
GetIconInfo(IntPtr, ref NativeMethods.IconInfo)
Declaration
public static bool GetIconInfo(IntPtr hIcon, ref NativeMethods.IconInfo pIconInfo)
Parameters
System.IntPtr
hIcon
|
NativeMethods.IconInfo
pIconInfo
|
Returns
System.Boolean
|
GetKeyboardLayout(UInt32)
Declaration
public static IntPtr GetKeyboardLayout(uint idThread)
Parameters
System.UInt32
idThread
|
Returns
System.IntPtr
|
GetKeyboardState(Byte[])
Declaration
public static bool GetKeyboardState(byte[] lpKeyState)
Parameters
System.Byte[]
lpKeyState
|
Returns
System.Boolean
|
GetKeyState(Int32)
Declaration
public static short GetKeyState(int keyCode)
Parameters
System.Int32
keyCode
|
Returns
System.Int16
|
GetMonitorDpi(Screen, NativeMethods.DpiType)
Declaration
public static SizeF GetMonitorDpi(Screen screen, NativeMethods.DpiType dpiType)
Parameters
System.Windows.Forms.Screen
screen
|
NativeMethods.DpiType
dpiType
|
Returns
System.Drawing.SizeF
|
GetObject(HandleRef, Int32, ref Int32)
Declaration
public static int GetObject(HandleRef hObject, int nSize, ref int nEntries)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
System.Int32
nSize
|
System.Int32
nEntries
|
Returns
System.Int32
|
GetObject(HandleRef, Int32, Int32[])
Declaration
public static int GetObject(HandleRef hObject, int nSize, int[] nEntries)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
System.Int32
nSize
|
System.Int32[]
nEntries
|
Returns
System.Int32
|
GetObject(HandleRef, Int32, NativeMethods.BITMAP)
Declaration
public static int GetObject(HandleRef hObject, int nSize, NativeMethods.BITMAP bm)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
System.Int32
nSize
|
NativeMethods.BITMAP
bm
|
Returns
System.Int32
|
GetObject(HandleRef, Int32, NativeMethods.LOGBRUSH)
Declaration
public static int GetObject(HandleRef hObject, int nSize, NativeMethods.LOGBRUSH lb)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
System.Int32
nSize
|
NativeMethods.LOGBRUSH
lb
|
Returns
System.Int32
|
GetObject(HandleRef, Int32, NativeMethods.LOGFONT)
Declaration
public static int GetObject(HandleRef hObject, int nSize, NativeMethods.LOGFONT lf)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
System.Int32
nSize
|
NativeMethods.LOGFONT
lf
|
Returns
System.Int32
|
GetObject(HandleRef, Int32, NativeMethods.LOGPEN)
Declaration
public static int GetObject(HandleRef hObject, int nSize, NativeMethods.LOGPEN lp)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
System.Int32
nSize
|
NativeMethods.LOGPEN
lp
|
Returns
System.Int32
|
GetObject(HandleRef, NativeMethods.LOGBRUSH)
Declaration
public static int GetObject(HandleRef hObject, NativeMethods.LOGBRUSH lb)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
NativeMethods.LOGBRUSH
lb
|
Returns
System.Int32
|
GetObject(HandleRef, NativeMethods.LOGFONT)
Declaration
public static int GetObject(HandleRef hObject, NativeMethods.LOGFONT lp)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
NativeMethods.LOGFONT
lp
|
Returns
System.Int32
|
GetObject(HandleRef, NativeMethods.LOGPEN)
Declaration
public static int GetObject(HandleRef hObject, NativeMethods.LOGPEN lp)
Parameters
System.Runtime.InteropServices.HandleRef
hObject
|
NativeMethods.LOGPEN
lp
|
Returns
System.Int32
|
GetPhysicallyInstalledSystemMemory(out Int64)
Declaration
public static bool GetPhysicallyInstalledSystemMemory(out long totalMemoryInKilobytes)
Parameters
System.Int64
totalMemoryInKilobytes
|
Returns
System.Boolean
|
GetPixel(IntPtr, Int32, Int32)
Declaration
public static int GetPixel(IntPtr hdc, int x, int y)
Parameters
System.IntPtr
hdc
|
System.Int32
x
|
System.Int32
y
|
Returns
System.Int32
|
GetProcAddress(IntPtr, String)
Declaration
public static IntPtr GetProcAddress(IntPtr hModule, string lpProcName)
Parameters
System.IntPtr
hModule
|
System.String
lpProcName
|
Returns
System.IntPtr
|
GetSysColor(Int32)
Declaration
public static int GetSysColor(int nIndex)
Parameters
System.Int32
nIndex
|
Returns
System.Int32
|
GetSystemDpi()
Declaration
public static Point GetSystemDpi()
Returns
System.Drawing.Point
|
GetSystemDpiScaling()
Declaration
public static float GetSystemDpiScaling()
Returns
System.Single
|
GetTextFace(IntPtr, Int32, StringBuilder)
Declaration
public static int GetTextFace(IntPtr hdc, int nCount, StringBuilder lpFaceName)
Parameters
System.IntPtr
hdc
|
System.Int32
nCount
|
System.Text.StringBuilder
lpFaceName
|
Returns
System.Int32
|
GetTextMetrics(IntPtr, IntPtr)
Declaration
public static NativeMethods.TextMetric GetTextMetrics(IntPtr hdc, IntPtr hFont)
Parameters
System.IntPtr
hdc
|
System.IntPtr
hFont
|
Returns
NativeMethods.TextMetric
|
GetTextMetrics(IntPtr, out NativeMethods.TextMetric)
Declaration
public static bool GetTextMetrics(IntPtr hdc, out NativeMethods.TextMetric tm)
Parameters
System.IntPtr
hdc
|
NativeMethods.TextMetric
tm
|
Returns
System.Boolean
|
GetTextMetrics(IntPtr, ref NativeMethods.TEXTMETRIC)
Declaration
public static bool GetTextMetrics(IntPtr hdc, ref NativeMethods.TEXTMETRIC tm)
Parameters
System.IntPtr
hdc
|
NativeMethods.TEXTMETRIC
tm
|
Returns
System.Boolean
|
GetThreadDpiAwarenessContext()
Declaration
public static IntPtr GetThreadDpiAwarenessContext()
Returns
System.IntPtr
|
GetTopWindow(IntPtr)
Declaration
public static IntPtr GetTopWindow(IntPtr hwnd)
Parameters
System.IntPtr
hwnd
|
Returns
System.IntPtr
|
GetUpdateRect(IntPtr, ref NativeMethods.RECT, Boolean)
Declaration
public static bool GetUpdateRect(IntPtr hWnd, ref NativeMethods.RECT rect, bool bErase)
Parameters
System.IntPtr
hWnd
|
NativeMethods.RECT
rect
|
System.Boolean
bErase
|
Returns
System.Boolean
|
GetWindow(IntPtr, NativeMethods.GetWindow_Cmd)
Declaration
public static IntPtr GetWindow(IntPtr hWnd, NativeMethods.GetWindow_Cmd uCmd)
Parameters
System.IntPtr
hWnd
|
NativeMethods.GetWindow_Cmd
uCmd
|
Returns
System.IntPtr
|
GetWindowDC(HandleRef)
Declaration
public static IntPtr GetWindowDC(HandleRef hWnd)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
Returns
System.IntPtr
|
GetWindowLong(HandleRef, Int32)
Declaration
public static IntPtr GetWindowLong(HandleRef hWnd, int nIndex)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
Returns
System.IntPtr
|
GetWindowLong32(HandleRef, Int32)
Declaration
public static IntPtr GetWindowLong32(HandleRef hWnd, int nIndex)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
Returns
System.IntPtr
|
GetWindowLongPtr64(HandleRef, Int32)
Declaration
public static IntPtr GetWindowLongPtr64(HandleRef hWnd, int nIndex)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
Returns
System.IntPtr
|
GetWindowRect(HandleRef, ref NativeMethods.RECT)
Declaration
public static bool GetWindowRect(HandleRef hWnd, ref NativeMethods.RECT rect)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
NativeMethods.RECT
rect
|
Returns
System.Boolean
|
GID_ROTATE_ANGLE_FROM_ARGUMENT(UInt64)
Declaration
public static double GID_ROTATE_ANGLE_FROM_ARGUMENT(ulong arg)
Parameters
System.UInt64
arg
|
Returns
System.Double
|
HideCaret(IntPtr)
Declaration
public static bool HideCaret(IntPtr hWnd)
Parameters
System.IntPtr
hWnd
|
Returns
System.Boolean
|
HiDWord(Int64)
Declaration
public static int HiDWord(long number)
Parameters
System.Int64
number
|
Returns
System.Int32
|
HiDWord(UInt64)
Declaration
public static uint HiDWord(ulong number)
Parameters
System.UInt64
number
|
Returns
System.UInt32
|
HiWord(Int32)
Declaration
public static short HiWord(int number)
Parameters
System.Int32
number
|
Returns
System.Int16
|
HiWord(UInt32)
Declaration
public static ushort HiWord(uint number)
Parameters
System.UInt32
number
|
Returns
System.UInt16
|
InitCommonControlsEx(NativeMethods.INITCOMMONCONTROLSEX)
Declaration
public static bool InitCommonControlsEx(NativeMethods.INITCOMMONCONTROLSEX icc)
Parameters
NativeMethods.INITCOMMONCONTROLSEX
icc
|
Returns
System.Boolean
|
IntDeleteObject(IntPtr)
Declaration
public static bool IntDeleteObject(IntPtr hObject)
Parameters
System.IntPtr
hObject
|
Returns
System.Boolean
|
IntSelectObject(IntPtr, IntPtr)
Declaration
public static IntPtr IntSelectObject(IntPtr hdc, IntPtr h)
Parameters
System.IntPtr
hdc
|
System.IntPtr
h
|
Returns
System.IntPtr
|
InvertRect(Graphics, Rectangle)
Declaration
public static void InvertRect(Graphics graphics, Rectangle rectangle)
Parameters
System.Drawing.Graphics
graphics
|
System.Drawing.Rectangle
rectangle
|
InvertRect(IntPtr, ref NativeMethods.RECT)
Declaration
public static bool InvertRect(IntPtr hDC, ref NativeMethods.RECT lprc)
Parameters
System.IntPtr
hDC
|
NativeMethods.RECT
lprc
|
Returns
System.Boolean
|
IsDifferentFont()
Declaration
public static bool IsDifferentFont()
Returns
System.Boolean
|
IsIconic(HandleRef)
Declaration
public static bool IsIconic(HandleRef hWnd)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
Returns
System.Boolean
|
IsLibraryAvailable(String)
Declaration
public static bool IsLibraryAvailable(string libname)
Parameters
System.String
libname
|
Returns
System.Boolean
|
IsWindow(HandleRef)
Declaration
public static bool IsWindow(HandleRef hWnd)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
Returns
System.Boolean
|
IsZoomed(HandleRef)
Declaration
public static bool IsZoomed(HandleRef hWnd)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
Returns
System.Boolean
|
LoadLibrary(String)
Declaration
public static IntPtr LoadLibrary(string libname)
Parameters
System.String
libname
|
Returns
System.IntPtr
|
LoDWord(Int64)
Declaration
public static int LoDWord(long number)
Parameters
System.Int64
number
|
Returns
System.Int32
|
LoDWord(UInt64)
Declaration
public static uint LoDWord(ulong number)
Parameters
System.UInt64
number
|
Returns
System.UInt32
|
LoWord(Int32)
Declaration
public static short LoWord(int number)
Parameters
System.Int32
number
|
Returns
System.Int16
|
LoWord(UInt32)
Declaration
public static ushort LoWord(uint number)
Parameters
System.UInt32
number
|
Returns
System.UInt16
|
MapVirtualKey(UInt32, UInt32)
Declaration
public static uint MapVirtualKey(uint uCode, uint uMapType)
Parameters
System.UInt32
uCode
|
System.UInt32
uMapType
|
Returns
System.UInt32
|
MapWindowPoints(HandleRef, HandleRef, NativeMethods.POINT, Int32)
Declaration
public static int MapWindowPoints(HandleRef hWndFrom, HandleRef hWndTo, NativeMethods.POINT pt, int cPoints)
Parameters
System.Runtime.InteropServices.HandleRef
hWndFrom
|
System.Runtime.InteropServices.HandleRef
hWndTo
|
NativeMethods.POINT
pt
|
System.Int32
cPoints
|
Returns
System.Int32
|
MapWindowPoints(HandleRef, HandleRef, ref NativeMethods.RECT, Int32)
Declaration
public static int MapWindowPoints(HandleRef hWndFrom, HandleRef hWndTo, ref NativeMethods.RECT rect, int cPoints)
Parameters
System.Runtime.InteropServices.HandleRef
hWndFrom
|
System.Runtime.InteropServices.HandleRef
hWndTo
|
NativeMethods.RECT
rect
|
System.Int32
cPoints
|
Returns
System.Int32
|
MessageBeep(Int32)
Declaration
public static bool MessageBeep(int type)
Parameters
System.Int32
type
|
Returns
System.Boolean
|
MsgWaitForMultipleObjects(Int32, Int32, Boolean, Int32, Int32)
Declaration
public static int MsgWaitForMultipleObjects(int nCount, int pHandles, bool bWaitAll, int dwMilliseconds, int dwWakeMask)
Parameters
System.Int32
nCount
|
System.Int32
pHandles
|
System.Boolean
bWaitAll
|
System.Int32
dwMilliseconds
|
System.Int32
dwWakeMask
|
Returns
System.Int32
|
PatBlt(HandleRef, Int32, Int32, Int32, Int32, Int32)
Declaration
public static bool PatBlt(HandleRef hdc, int left, int top, int width, int height, int rop)
Parameters
System.Runtime.InteropServices.HandleRef
hdc
|
System.Int32
left
|
System.Int32
top
|
System.Int32
width
|
System.Int32
height
|
System.Int32
rop
|
Returns
System.Boolean
|
PostMessage(IntPtr, Int32, Int32, IntPtr)
Declaration
public static int PostMessage(IntPtr handle, int msg, int wParam, IntPtr lParam)
Parameters
System.IntPtr
handle
|
System.Int32
msg
|
System.Int32
wParam
|
System.IntPtr
lParam
|
Returns
System.Int32
|
PostMessage(HandleRef, Int32, Int32, Int32)
Declaration
public static IntPtr PostMessage(HandleRef hwnd, int msg, int wparam, int lparam)
Parameters
System.Runtime.InteropServices.HandleRef
hwnd
|
System.Int32
msg
|
System.Int32
wparam
|
System.Int32
lparam
|
Returns
System.IntPtr
|
PostMessage(HandleRef, Int32, Int32, IntPtr)
Declaration
public static IntPtr PostMessage(HandleRef hwnd, int msg, int wparam, IntPtr lparam)
Parameters
System.Runtime.InteropServices.HandleRef
hwnd
|
System.Int32
msg
|
System.Int32
wparam
|
System.IntPtr
lparam
|
Returns
System.IntPtr
|
PostMessage(HandleRef, Int32, IntPtr, IntPtr)
Declaration
public static bool PostMessage(HandleRef hwnd, int msg, IntPtr wparam, IntPtr lparam)
Parameters
System.Runtime.InteropServices.HandleRef
hwnd
|
System.Int32
msg
|
System.IntPtr
wparam
|
System.IntPtr
lparam
|
Returns
System.Boolean
|
PtInRegion(IntPtr, Int32, Int32)
Declaration
public static bool PtInRegion(IntPtr hRgn, int x, int y)
Parameters
System.IntPtr
hRgn
|
System.Int32
x
|
System.Int32
y
|
Returns
System.Boolean
|
RedrawWindow(HandleRef, IntPtr, HandleRef, Int32)
Declaration
public static bool RedrawWindow(HandleRef hwnd, IntPtr rcUpdate, HandleRef hrgnUpdate, int flags)
Parameters
System.Runtime.InteropServices.HandleRef
hwnd
|
System.IntPtr
rcUpdate
|
System.Runtime.InteropServices.HandleRef
hrgnUpdate
|
System.Int32
flags
|
Returns
System.Boolean
|
RedrawWindow(HandleRef, ref NativeMethods.RECT, HandleRef, Int32)
Declaration
public static bool RedrawWindow(HandleRef hwnd, ref NativeMethods.RECT rcUpdate, HandleRef hrgnUpdate, int flags)
Parameters
System.Runtime.InteropServices.HandleRef
hwnd
|
NativeMethods.RECT
rcUpdate
|
System.Runtime.InteropServices.HandleRef
hrgnUpdate
|
System.Int32
flags
|
Returns
System.Boolean
|
RegisterWindowMessage(String)
Declaration
public static int RegisterWindowMessage(string msg)
Parameters
System.String
msg
|
Returns
System.Int32
|
ReleaseCapture()
Declaration
public static bool ReleaseCapture()
Returns
System.Boolean
|
ReleaseDC(HandleRef, HandleRef)
Declaration
public static int ReleaseDC(HandleRef hWnd, HandleRef hDC)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Runtime.InteropServices.HandleRef
hDC
|
Returns
System.Int32
|
RestoreDC(HandleRef, Int32)
Declaration
public static bool RestoreDC(HandleRef hDC, int nSavedDC)
Parameters
System.Runtime.InteropServices.HandleRef
hDC
|
System.Int32
nSavedDC
|
Returns
System.Boolean
|
SaveDC(HandleRef)
Declaration
public static int SaveDC(HandleRef hDC)
Parameters
System.Runtime.InteropServices.HandleRef
hDC
|
Returns
System.Int32
|
SelectObject(IntPtr, IntPtr)
Declaration
public static IntPtr SelectObject(IntPtr hDC, IntPtr hObject)
Parameters
System.IntPtr
hDC
|
System.IntPtr
hObject
|
Returns
System.IntPtr
|
SelectObject(HandleRef, HandleRef)
Declaration
public static IntPtr SelectObject(HandleRef hDC, HandleRef hObject)
Parameters
System.Runtime.InteropServices.HandleRef
hDC
|
System.Runtime.InteropServices.HandleRef
hObject
|
Returns
System.IntPtr
|
SendMessage(IntPtr, Int32, Boolean, Int32)
Declaration
public static IntPtr SendMessage(IntPtr hwnd, int msg, bool wparam, int lparam)
Parameters
System.IntPtr
hwnd
|
System.Int32
msg
|
System.Boolean
wparam
|
System.Int32
lparam
|
Returns
System.IntPtr
|
SendMessage(IntPtr, Int32, Int32, Int32)
Declaration
public static IntPtr SendMessage(IntPtr hWnd, int msg, int wParam, int lParam)
Parameters
System.IntPtr
hWnd
|
System.Int32
msg
|
System.Int32
wParam
|
System.Int32
lParam
|
Returns
System.IntPtr
|
SendMessage(IntPtr, Int32, Int32, String)
Declaration
public static IntPtr SendMessage(IntPtr hWnd, int msg, int wParam, string lParam)
Parameters
System.IntPtr
hWnd
|
System.Int32
msg
|
System.Int32
wParam
|
System.String
lParam
|
Returns
System.IntPtr
|
SendMessage(IntPtr, Int32, IntPtr, IntPtr)
Declaration
public static IntPtr SendMessage(IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam)
Parameters
System.IntPtr
hWnd
|
System.Int32
msg
|
System.IntPtr
wParam
|
System.IntPtr
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, Boolean, Int32)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int msg, bool wParam, int lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
msg
|
System.Boolean
wParam
|
System.Int32
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, ref Boolean, IntPtr)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int Msg, ref bool wParam, IntPtr lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
Msg
|
System.Boolean
wParam
|
System.IntPtr
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, ref Int16, ref Int16)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int Msg, ref short wParam, ref short lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
Msg
|
System.Int16
wParam
|
System.Int16
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, Int32, ref Rectangle)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int Msg, int wParam, ref Rectangle lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
Msg
|
System.Int32
wParam
|
System.Drawing.Rectangle
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, Int32, Int32)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int msg, int wParam, int lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
msg
|
System.Int32
wParam
|
System.Int32
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, Int32, Int32[])
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int msg, int wParam, int[] lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
msg
|
System.Int32
wParam
|
System.Int32[]
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, Int32, IntPtr)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int Msg, int wParam, IntPtr lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
Msg
|
System.Int32
wParam
|
System.IntPtr
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, Int32, out Object)
Declaration
public static int SendMessage(HandleRef hWnd, int msg, int wParam, out object editOle)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
msg
|
System.Int32
wParam
|
System.Object
editOle
|
Returns
System.Int32
|
SendMessage(HandleRef, Int32, Int32, String)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int msg, int wParam, string lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
msg
|
System.Int32
wParam
|
System.String
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, Int32, NativeMethods.POINT)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int msg, int wParam, NativeMethods.POINT lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
msg
|
System.Int32
wParam
|
NativeMethods.POINT
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, IntPtr, IntPtr)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int msg, IntPtr wParam, IntPtr lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
msg
|
System.IntPtr
wParam
|
System.IntPtr
lParam
|
Returns
System.IntPtr
|
SendMessage(HandleRef, Int32, IntPtr, String)
Declaration
public static IntPtr SendMessage(HandleRef hWnd, int msg, IntPtr wParam, string lParam)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
msg
|
System.IntPtr
wParam
|
System.String
lParam
|
Returns
System.IntPtr
|
SetActiveWindow(HandleRef)
Declaration
public static IntPtr SetActiveWindow(HandleRef handle)
Parameters
System.Runtime.InteropServices.HandleRef
handle
|
Returns
System.IntPtr
|
SetClassLong(HandleRef, Int32, IntPtr)
Declaration
public static IntPtr SetClassLong(HandleRef hWnd, int nIndex, IntPtr dwNewLong)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
System.IntPtr
dwNewLong
|
Returns
System.IntPtr
|
SetClassLongPtr32(HandleRef, Int32, IntPtr)
Declaration
public static IntPtr SetClassLongPtr32(HandleRef hwnd, int nIndex, IntPtr dwNewLong)
Parameters
System.Runtime.InteropServices.HandleRef
hwnd
|
System.Int32
nIndex
|
System.IntPtr
dwNewLong
|
Returns
System.IntPtr
|
SetClassLongPtr64(HandleRef, Int32, IntPtr)
Declaration
public static IntPtr SetClassLongPtr64(HandleRef hwnd, int nIndex, IntPtr dwNewLong)
Parameters
System.Runtime.InteropServices.HandleRef
hwnd
|
System.Int32
nIndex
|
System.IntPtr
dwNewLong
|
Returns
System.IntPtr
|
SetFocus(HandleRef)
Declaration
public static IntPtr SetFocus(HandleRef hWnd)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
Returns
System.IntPtr
|
SetForegroundWindow(IntPtr)
Declaration
public static bool SetForegroundWindow(IntPtr hWnd)
Parameters
System.IntPtr
hWnd
|
Returns
System.Boolean
|
SetGestureConfig(IntPtr, UInt32, UInt32, NativeMethods.GESTURECONFIG[], UInt32)
Declaration
public static bool SetGestureConfig(IntPtr hwnd, uint dwReserved, uint cIDs, NativeMethods.GESTURECONFIG[] pGestureConfig, uint cbSize)
Parameters
System.IntPtr
hwnd
|
System.UInt32
dwReserved
|
System.UInt32
cIDs
|
NativeMethods.GESTURECONFIG[]
pGestureConfig
|
System.UInt32
cbSize
|
Returns
System.Boolean
|
SetLayeredWindowAttributes(HandleRef, Int32, Byte, Int32)
Declaration
public static bool SetLayeredWindowAttributes(HandleRef hwnd, int crKey, byte bAlpha, int dwFlags)
Parameters
System.Runtime.InteropServices.HandleRef
hwnd
|
System.Int32
crKey
|
System.Byte
bAlpha
|
System.Int32
dwFlags
|
Returns
System.Boolean
|
SetThreadDpiAwarenessContext(IntPtr)
Declaration
public static IntPtr SetThreadDpiAwarenessContext(IntPtr dpiContext)
Parameters
System.IntPtr
dpiContext
|
Returns
System.IntPtr
|
SetWindowLong(HandleRef, Int32, HandleRef)
Declaration
public static IntPtr SetWindowLong(HandleRef hWnd, int nIndex, HandleRef dwNewLong)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
System.Runtime.InteropServices.HandleRef
dwNewLong
|
Returns
System.IntPtr
|
SetWindowLongPtr32(HandleRef, Int32, HandleRef)
Declaration
public static IntPtr SetWindowLongPtr32(HandleRef hWnd, int nIndex, HandleRef dwNewLong)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
System.Runtime.InteropServices.HandleRef
dwNewLong
|
Returns
System.IntPtr
|
SetWindowLongPtr64(HandleRef, Int32, HandleRef)
Declaration
public static IntPtr SetWindowLongPtr64(HandleRef hWnd, int nIndex, HandleRef dwNewLong)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Int32
nIndex
|
System.Runtime.InteropServices.HandleRef
dwNewLong
|
Returns
System.IntPtr
|
SetWindowPos(HandleRef, HandleRef, Int32, Int32, Int32, Int32, Int32)
Declaration
public static bool SetWindowPos(HandleRef hWnd, HandleRef hWndInsertAfter, int x, int y, int cx, int cy, int flags)
Parameters
System.Runtime.InteropServices.HandleRef
hWnd
|
System.Runtime.InteropServices.HandleRef
hWndInsertAfter
|
System.Int32
x
|
System.Int32
y
|
System.Int32
cx
|
System.Int32
cy
|
System.Int32
flags
|
Returns
System.Boolean
|
SHGetFileInfo(String, UInt32, ref NativeMethods.SHFILEINFO, UInt32, UInt32)
Declaration
public static IntPtr SHGetFileInfo(string pszPath, uint dwFileAttributes, ref NativeMethods.SHFILEINFO psfi, uint cbSizeFileInfo, uint uFlags)
Parameters
System.String
pszPath
|
System.UInt32
dwFileAttributes
|
NativeMethods.SHFILEINFO
psfi
|
System.UInt32
cbSizeFileInfo
|
System.UInt32
uFlags
|
Returns
System.IntPtr
|
ShowScrollBar(IntPtr, Int32, Boolean)
Declaration
public static bool ShowScrollBar(IntPtr hWnd, int wBar, bool bShow)
Parameters
System.IntPtr
hWnd
|
System.Int32
wBar
|
System.Boolean
bShow
|
Returns
System.Boolean
|
ShowWindow(IntPtr, Int32)
Declaration
public static bool ShowWindow(IntPtr hWnd, int nCmdShow)
Parameters
System.IntPtr
hWnd
|
System.Int32
nCmdShow
|
Returns
System.Boolean
|
ToUnicodeEx(UInt32, UInt32, Byte[], StringBuilder, Int32, UInt32, IntPtr)
Declaration
public static int ToUnicodeEx(uint wVirtKey, uint wScanCode, byte[] lpKeyState, StringBuilder pwszBuff, int cchBuff, uint wFlags, IntPtr dwhkl)
Parameters
System.UInt32
wVirtKey
|
System.UInt32
wScanCode
|
System.Byte[]
lpKeyState
|
System.Text.StringBuilder
pwszBuff
|
System.Int32
cchBuff
|
System.UInt32
wFlags
|
System.IntPtr
dwhkl
|
Returns
System.Int32
|
UpdateLayeredWindow(IntPtr, IntPtr, ref NativeMethods.POINTSTRUCT, ref NativeMethods.SIZESTRUCT, IntPtr, ref NativeMethods.POINTSTRUCT, Int32, ref NativeMethods.BLENDFUNCTION, Int32)
Declaration
public static 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)
Parameters
System.IntPtr
hwnd
|
System.IntPtr
hdcDst
|
NativeMethods.POINTSTRUCT
pptDst
|
NativeMethods.SIZESTRUCT
psize
|
System.IntPtr
hdcSrc
|
NativeMethods.POINTSTRUCT
pprSrc
|
System.Int32
crKey
|
NativeMethods.BLENDFUNCTION
pblend
|
System.Int32
dwFlags
|
Returns
System.Int32
|
UpdateZOrder(HandleRef, HandleRef, Boolean)
Declaration
public static void UpdateZOrder(HandleRef handle, HandleRef pos, bool activate)
Parameters
System.Runtime.InteropServices.HandleRef
handle
|
System.Runtime.InteropServices.HandleRef
pos
|
System.Boolean
activate
|
WindowFromPoint(Int32, Int32)
Declaration
public static IntPtr WindowFromPoint(int x, int y)
Parameters
System.Int32
x
|
System.Int32
y
|
Returns
System.IntPtr
|