winapi

package
v2.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package winapi energy - lcl window api

Index

Constants

View Source
const (
	// Mouse message key states
	MK_LBUTTON  = 1
	MK_RBUTTON  = 2
	MK_SHIFT    = 4
	MK_CONTROL  = 8
	MK_MBUTTON  = 0x10
	MK_XBUTTON1 = 0x20
	MK_XBUTTON2 = 0x40
	// following are "virtual" key states
	MK_DOUBLECLICK = 0x80
	MK_TRIPLECLICK = 0x100
	MK_QUADCLICK   = 0x200
	MK_ALT         = 0x20000000
)
View Source
const (
	KF_EXTENDED = 0x100
	KF_DLGMODE  = 0x800
	KF_MENUMODE = 0x1000
	KF_ALTDOWN  = 0x2000
	KF_REPEAT   = 0x4000
	KF_UP       = 0x8000
)

------------ KeyFlags (High word part !!!) ------------

View Source
const (
	VK_UNKNOWN  = 0 // defined by LCL
	VK_LBUTTON  = 1
	VK_RBUTTON  = 2
	VK_CANCEL   = 3
	VK_MBUTTON  = 4
	VK_XBUTTON1 = 5
	VK_XBUTTON2 = 6
	VK_BACK     = 8 // The "Backspace" key, dont confuse with the
	// Android BACK key which is mapped to VK_ESCAPE
	VK_TAB        = 9
	VK_CLEAR      = 12
	VK_RETURN     = 13 // The "Enter" key, also used for a keypad center press
	VK_SHIFT      = 16 // See also VK_LSHIFT, VK_RSHIFT
	VK_CONTROL    = 17 // See also VK_LCONTROL, VK_RCONTROL
	VK_MENU       = 18 // The ALT key. Also called "Option" in Mac OS X. See also VK_LMENU, VK_RMENU
	VK_PAUSE      = 19 // Pause/Break key
	VK_CAPITAL    = 20 // CapsLock key
	VK_KANA       = 21
	VK_HANGUL     = 21
	VK_JUNJA      = 23
	VK_FINAL      = 24
	VK_HANJA      = 25
	VK_KANJI      = 25
	VK_ESCAPE     = 27 // Also used for the hardware Back key in Android
	VK_CONVERT    = 28
	VK_NONCONVERT = 29
	VK_ACCEPT     = 30
	VK_MODECHANGE = 31
	VK_SPACE      = 32
	VK_PRIOR      = 33 // Page Up
	VK_NEXT       = 34 // Page Down
	VK_END        = 35
	VK_HOME       = 36
	VK_LEFT       = 37
	VK_UP         = 38
	VK_RIGHT      = 39
	VK_DOWN       = 40
	VK_SELECT     = 41
	VK_PRINT      = 42 // PrintScreen key
	VK_EXECUTE    = 43
	VK_SNAPSHOT   = 44
	VK_INSERT     = 45
	VK_DELETE     = 46
	VK_HELP       = 47
	VK_0          = 0x30
	VK_1          = 0x31
	VK_2          = 0x32
	VK_3          = 0x33
	VK_4          = 0x34
	VK_5          = 0x35
	VK_6          = 0x36
	VK_7          = 0x37
	VK_8          = 0x38
	VK_9          = 0x39
	//3A-40 Undefined
	VK_A    = 0x41
	VK_B    = 0x42
	VK_C    = 0x43
	VK_D    = 0x44
	VK_E    = 0x45
	VK_F    = 0x46
	VK_G    = 0x47
	VK_H    = 0x48
	VK_I    = 0x49
	VK_J    = 0x4A
	VK_K    = 0x4B
	VK_L    = 0x4C
	VK_M    = 0x4D
	VK_N    = 0x4E
	VK_O    = 0x4F
	VK_P    = 0x50
	VK_Q    = 0x51
	VK_R    = 0x52
	VK_S    = 0x53
	VK_T    = 0x54
	VK_U    = 0x55
	VK_V    = 0x56
	VK_W    = 0x57
	VK_X    = 0x58
	VK_Y    = 0x59
	VK_Z    = 0x5A
	VK_LWIN = 0x5B // In Mac OS X this is the Apple, or Command key. Windows Key in PC keyboards
	VK_RWIN = 0x5C // In Mac OS X this is the Apple, or Command key. Windows Key in PC keyboards
	VK_APPS = 0x5D // The PopUp key in PC keyboards
	// $5E reserved
	VK_SLEEP     = 0x5F
	VK_NUMPAD0   = 96 // $60
	VK_NUMPAD1   = 97
	VK_NUMPAD2   = 98
	VK_NUMPAD3   = 99
	VK_NUMPAD4   = 100
	VK_NUMPAD5   = 101
	VK_NUMPAD6   = 102
	VK_NUMPAD7   = 103
	VK_NUMPAD8   = 104
	VK_NUMPAD9   = 105
	VK_MULTIPLY  = 106 // VK_MULTIPLY up to VK_DIVIDE are usually in the numeric keypad in PC keyboards
	VK_ADD       = 107
	VK_SEPARATOR = 108
	VK_SUBTRACT  = 109
	VK_DECIMAL   = 110
	VK_DIVIDE    = 111
	VK_F1        = 112
	VK_F2        = 113
	VK_F3        = 114
	VK_F4        = 115
	VK_F5        = 116
	VK_F6        = 117
	VK_F7        = 118
	VK_F8        = 119
	VK_F9        = 120
	VK_F10       = 121
	VK_F11       = 122
	VK_F12       = 123
	VK_F13       = 124
	VK_F14       = 125
	VK_F15       = 126
	VK_F16       = 127
	VK_F17       = 128
	VK_F18       = 129
	VK_F19       = 130
	VK_F20       = 131
	VK_F21       = 132
	VK_F22       = 133
	VK_F23       = 134
	VK_F24       = 135 // $87

	VK_NUMLOCK = 0x90
	VK_SCROLL  = 0x91

	// VK_L & VK_R - left and right Alt, Ctrl and Shift virtual keys.
	// When Application.ExtendedKeysSupport is false, these keys are
	// used only as parameters to GetAsyncKeyState() and GetKeyState().
	// No other API or message will distinguish left and right keys in this way
	//
	// When Application.ExtendedKeysSupport is true, these keys will be sent
	// on KeyDown / KeyUp instead of the generic VK_SHIFT, VK_CONTROL, etc.
	VK_LSHIFT   = 0xA0
	VK_RSHIFT   = 0xA1
	VK_LCONTROL = 0xA2
	VK_RCONTROL = 0xA3
	VK_LMENU    = 0xA4 // Left ALT key (also named Option in Mac OS X)
	VK_RMENU    = 0xA5 // Right ALT key (also named Option in Mac OS X)

	VK_BROWSER_BACK        = 0xA6
	VK_BROWSER_FORWARD     = 0xA7
	VK_BROWSER_REFRESH     = 0xA8
	VK_BROWSER_STOP        = 0xA9
	VK_BROWSER_SEARCH      = 0xAA
	VK_BROWSER_FAVORITES   = 0xAB
	VK_BROWSER_HOME        = 0xAC
	VK_VOLUME_MUTE         = 0xAD
	VK_VOLUME_DOWN         = 0xAE
	VK_VOLUME_UP           = 0xAF
	VK_MEDIA_NEXT_TRACK    = 0xB0
	VK_MEDIA_PREV_TRACK    = 0xB1
	VK_MEDIA_STOP          = 0xB2
	VK_MEDIA_PLAY_PAUSE    = 0xB3
	VK_LAUNCH_MAIL         = 0xB4
	VK_LAUNCH_MEDIA_SELECT = 0xB5
	VK_LAUNCH_APP1         = 0xB6
	VK_LAUNCH_APP2         = 0xB7

	// $B8-$B9 Reserved
	VK_OEM_1 = 0xBA // Used for miscellaneous characters; it can vary by keyboard.
	// For the US standard keyboard, the ';:' key
	VK_OEM_PLUS   = 0xBB // For any country/region, the '+' key
	VK_OEM_COMMA  = 0xBC // For any country/region, the ',' key
	VK_OEM_MINUS  = 0xBD // For any country/region, the '-' key
	VK_OEM_PERIOD = 0xBE // For any country/region, the '.' key
	VK_OEM_2      = 0xBF // Used for miscellaneous characters; it can vary by keyboard.
	// For the US standard keyboard, the '/?' key
	VK_OEM_3 = 0xC0 // Used for miscellaneous characters; it can vary by keyboard.
	// For the US standard keyboard, the '`~' key
	// $C1-$D7 Reserved
	// $D8-$DA Unassigned
	VK_OEM_4 = 0xDB // Used for miscellaneous characters; it can vary by keyboard.
	// For the US standard keyboard, the '[{' key
	VK_OEM_5 = 0xDC // Used for miscellaneous characters; it can vary by keyboard.
	// For the US standard keyboard, the '\|' key
	VK_OEM_6 = 0xDD // Used for miscellaneous characters; it can vary by keyboard.
	// For the US standard keyboard, the ']}' key
	VK_OEM_7 = 0xDE // Used for miscellaneous characters; it can vary by keyboard.
	// For the US standard keyboard, the 'single-quote/double-quote' key
	VK_OEM_8 = 0xDF // Used for miscellaneous characters; it can vary by keyboard.

	// $E0 Reserved
	// $E1 OEM specific
	VK_OEM_102 = 0xE2 // Either the angle bracket key or the backslash key on the RT 102-key keyboard

	VK_PROCESSKEY = 0xE7 // IME Process key

	VK_ATTN         = 0xF6
	VK_CRSEL        = 0xF7
	VK_EXSEL        = 0xF8
	VK_EREOF        = 0xF9
	VK_PLAY         = 0xFA
	VK_ZOOM         = 0xFB
	VK_NONAME       = 0xFC
	VK_PA1          = 0xFD
	VK_OEM_CLEAR    = 0xFE
	VK_HIGHESTVALUE = 0xFFFF
	VK_UNDEFINED    = 0xFF // defined by LCL

	VK_LCL_EQUAL      = VK_OEM_PLUS   // The "=+" Key
	VK_LCL_COMMA      = VK_OEM_COMMA  // The ",<" Key
	VK_LCL_POINT      = VK_OEM_PERIOD // The ".>" Key
	VK_LCL_SLASH      = VK_OEM_2      // The "/?" Key
	VK_LCL_SEMI_COMMA = VK_OEM_1      // The ";:" Key
	VK_LCL_MINUS      = VK_OEM_MINUS  // The "-_" Key

	VK_LCL_OPEN_BRAKET   = VK_OEM_4 //deprecated 'Use VK_LCL_OPEN_BRACKET instead';
	VK_LCL_CLOSE_BRAKET  = VK_OEM_6 //deprecated 'Use VK_LCL_CLOSE_BRACKET instead';
	VK_LCL_OPEN_BRACKET  = VK_OEM_4 // The "[{" Key
	VK_LCL_CLOSE_BRACKET = VK_OEM_6 // The "]}" Key

	VK_LCL_BACKSLASH = VK_OEM_5 // The "\|" Key
	VK_LCL_TILDE     = VK_OEM_3 // The "`~" Key
	VK_LCL_QUOTE     = VK_OEM_7 // The "'"" Key

	VK_LCL_ALT      = VK_MENU
	VK_LCL_LALT     = VK_LMENU
	VK_LCL_RALT     = VK_RMENU
	VK_LCL_CAPSLOCK = VK_CAPITAL

	VK_LCL_POWER   = 0x100
	VK_LCL_CALL    = 0x101
	VK_LCL_ENDCALL = 0x102
	VK_LCL_AT      = 0x103 // Not equivalent to anything < $FF, will only be sent by a primary "@" key

)

------------- Virtual keys -------------

Basic keys up to $FF have values and meaning compatible with the Windows API as described here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/VirtualKeyCodes.asp

Starting with $100 and upwards the key constants are LCL additions

View Source
const (
	DISPID_UNKNOWN     = -1
	DISPID_VALUE       = 0
	DISPID_PROPERTYPUT = -3
	DISPID_NEWENUM     = -4
	DISPID_EVALUATE    = -5
	DISPID_CONSTRUCTOR = -6
	DISPID_DESTRUCTOR  = -7
	DISPID_COLLECT     = -8
)
View Source
const (
	MONITOR_DEFAULTTONULL    = 0x00000000
	MONITOR_DEFAULTTOPRIMARY = 0x00000001
	MONITOR_DEFAULTTONEAREST = 0x00000002

	MONITORINFOF_PRIMARY = 0x00000001
)
View Source
const (
	DC_FIELDS            = 1
	DC_PAPERS            = 2
	DC_PAPERSIZE         = 3
	DC_MINEXTENT         = 4
	DC_MAXEXTENT         = 5
	DC_BINS              = 6
	DC_DUPLEX            = 7
	DC_SIZE              = 8
	DC_EXTRA             = 9
	DC_VERSION           = 10
	DC_DRIVER            = 11
	DC_BINNAMES          = 12
	DC_ENUMRESOLUTIONS   = 13
	DC_FILEDEPENDENCIES  = 14
	DC_TRUETYPE          = 15
	DC_PAPERNAMES        = 16
	DC_ORIENTATION       = 17
	DC_COPIES            = 18
	DC_BINADJUST         = 19
	DC_EMF_COMPLIANT     = 20
	DC_DATATYPE_PRODUCED = 21
	DC_COLLATE           = 22
	DC_MANUFACTURER      = 23
	DC_MODEL             = 24
	DC_PERSONALITY       = 25
	DC_PRINTRATE         = 26
	DC_PRINTRATEUNIT     = 27
	DC_PRINTERMEM        = 28
	DC_MEDIAREADY        = 29
	DC_STAPLE            = 30
	DC_PRINTRATEPPM      = 31
	DC_COLORDEVICE       = 32
	DC_NUP               = 33
	DC_MEDIATYPENAMES    = 34
	DC_MEDIATYPES        = 35
)

DeviceCapabilities capabilities

View Source
const (
	DRIVERVERSION   = 0
	TECHNOLOGY      = 2
	HORZSIZE        = 4
	VERTSIZE        = 6
	HORZRES         = 8
	VERTRES         = 10
	LOGPIXELSX      = 88
	LOGPIXELSY      = 90
	BITSPIXEL       = 12
	PLANES          = 14
	NUMBRUSHES      = 16
	NUMPENS         = 18
	NUMFONTS        = 22
	NUMCOLORS       = 24
	NUMMARKERS      = 20
	ASPECTX         = 40
	ASPECTY         = 42
	ASPECTXY        = 44
	PDEVICESIZE     = 26
	CLIPCAPS        = 36
	SIZEPALETTE     = 104
	NUMRESERVED     = 106
	COLORRES        = 108
	PHYSICALWIDTH   = 110
	PHYSICALHEIGHT  = 111
	PHYSICALOFFSETX = 112
	PHYSICALOFFSETY = 113
	SCALINGFACTORX  = 114
	SCALINGFACTORY  = 115
	VREFRESH        = 116
	DESKTOPHORZRES  = 118
	DESKTOPVERTRES  = 117
	BLTALIGNMENT    = 119
	SHADEBLENDCAPS  = 120
	COLORMGMTCAPS   = 121
	RASTERCAPS      = 38
	CURVECAPS       = 28
	LINECAPS        = 30
	POLYGONALCAPS   = 32
	TEXTCAPS        = 34
)

GetDeviceCaps index constants

View Source
const (
	SM_CXSCREEN             = 0
	SM_CYSCREEN             = 1
	SM_CXVSCROLL            = 2
	SM_CYHSCROLL            = 3
	SM_CYCAPTION            = 4
	SM_CXBORDER             = 5
	SM_CYBORDER             = 6
	SM_CXDLGFRAME           = 7
	SM_CYDLGFRAME           = 8
	SM_CYVTHUMB             = 9
	SM_CXHTHUMB             = 10
	SM_CXICON               = 11
	SM_CYICON               = 12
	SM_CXCURSOR             = 13
	SM_CYCURSOR             = 14
	SM_CYMENU               = 15
	SM_CXFULLSCREEN         = 16
	SM_CYFULLSCREEN         = 17
	SM_CYKANJIWINDOW        = 18
	SM_MOUSEPRESENT         = 19
	SM_CYVSCROLL            = 20
	SM_CXHSCROLL            = 21
	SM_DEBUG                = 22
	SM_SWAPBUTTON           = 23
	SM_RESERVED1            = 24
	SM_RESERVED2            = 25
	SM_RESERVED3            = 26
	SM_RESERVED4            = 27
	SM_CXMIN                = 28
	SM_CYMIN                = 29
	SM_CXSIZE               = 30
	SM_CYSIZE               = 31
	SM_CXFRAME              = 32
	SM_CYFRAME              = 33
	SM_CXMINTRACK           = 34
	SM_CYMINTRACK           = 35
	SM_CXDOUBLECLK          = 36
	SM_CYDOUBLECLK          = 37
	SM_CXICONSPACING        = 38
	SM_CYICONSPACING        = 39
	SM_MENUDROPALIGNMENT    = 40
	SM_PENWINDOWS           = 41
	SM_DBCSENABLED          = 42
	SM_CMOUSEBUTTONS        = 43
	SM_CXFIXEDFRAME         = SM_CXDLGFRAME
	SM_CYFIXEDFRAME         = SM_CYDLGFRAME
	SM_CXSIZEFRAME          = SM_CXFRAME
	SM_CYSIZEFRAME          = SM_CYFRAME
	SM_SECURE               = 44
	SM_CXEDGE               = 45
	SM_CYEDGE               = 46
	SM_CXMINSPACING         = 47
	SM_CYMINSPACING         = 48
	SM_CXSMICON             = 49
	SM_CYSMICON             = 50
	SM_CYSMCAPTION          = 51
	SM_CXSMSIZE             = 52
	SM_CYSMSIZE             = 53
	SM_CXMENUSIZE           = 54
	SM_CYMENUSIZE           = 55
	SM_ARRANGE              = 56
	SM_CXMINIMIZED          = 57
	SM_CYMINIMIZED          = 58
	SM_CXMAXTRACK           = 59
	SM_CYMAXTRACK           = 60
	SM_CXMAXIMIZED          = 61
	SM_CYMAXIMIZED          = 62
	SM_NETWORK              = 63
	SM_CLEANBOOT            = 67
	SM_CXDRAG               = 68
	SM_CYDRAG               = 69
	SM_SHOWSOUNDS           = 70
	SM_CXMENUCHECK          = 71
	SM_CYMENUCHECK          = 72
	SM_SLOWMACHINE          = 73
	SM_MIDEASTENABLED       = 74
	SM_MOUSEWHEELPRESENT    = 75
	SM_XVIRTUALSCREEN       = 76
	SM_YVIRTUALSCREEN       = 77
	SM_CXVIRTUALSCREEN      = 78
	SM_CYVIRTUALSCREEN      = 79
	SM_CMONITORS            = 80
	SM_SAMEDISPLAYFORMAT    = 81
	SM_IMMENABLED           = 82
	SM_CXFOCUSBORDER        = 83
	SM_CYFOCUSBORDER        = 84
	SM_TABLETPC             = 86
	SM_MEDIACENTER          = 87
	SM_STARTER              = 88
	SM_SERVERR2             = 89
	SM_CMETRICS             = 91
	SM_REMOTESESSION        = 0x1000
	SM_SHUTTINGDOWN         = 0x2000
	SM_REMOTECONTROL        = 0x2001
	SM_CARETBLINKINGENABLED = 0x2002
)

GetSystemMetrics constants

View Source
const (
	DT_PLOTTER    = 0
	DT_RASDISPLAY = 1
	DT_RASPRINTER = 2
	DT_RASCAMERA  = 3
	DT_CHARSTREAM = 4
	DT_METAFILE   = 5
	DT_DISPFILE   = 6
)

GetDeviceCaps TECHNOLOGY constants

View Source
const (
	SB_NONE          = 0x00
	SB_CONST_ALPHA   = 0x01
	SB_PIXEL_ALPHA   = 0x02
	SB_PREMULT_ALPHA = 0x04
	SB_GRAD_RECT     = 0x10
	SB_GRAD_TRI      = 0x20
)

GetDeviceCaps SHADEBLENDCAPS constants

View Source
const (
	CM_NONE       = 0x00
	CM_DEVICE_ICM = 0x01
	CM_GAMMA_RAMP = 0x02
	CM_CMYK_COLOR = 0x04
)

GetDeviceCaps COLORMGMTCAPS constants

View Source
const (
	RC_BANDING      = 2
	RC_BITBLT       = 1
	RC_BITMAP64     = 8
	RC_DI_BITMAP    = 128
	RC_DIBTODEV     = 512
	RC_FLOODFILL    = 4096
	RC_GDI20_OUTPUT = 16
	RC_PALETTE      = 256
	RC_SCALING      = 4
	RC_STRETCHBLT   = 2048
	RC_STRETCHDIB   = 8192
	RC_DEVBITS      = 0x8000
	RC_OP_DX_OUTPUT = 0x4000
)

GetDeviceCaps RASTERCAPS constants

View Source
const (
	CC_NONE       = 0
	CC_CIRCLES    = 1
	CC_PIE        = 2
	CC_CHORD      = 4
	CC_ELLIPSES   = 8
	CC_WIDE       = 16
	CC_STYLED     = 32
	CC_WIDESTYLED = 64
	CC_INTERIORS  = 128
	CC_ROUNDRECT  = 256
)

GetDeviceCaps CURVECAPS constants

View Source
const (
	LC_NONE       = 0
	LC_POLYLINE   = 2
	LC_MARKER     = 4
	LC_POLYMARKER = 8
	LC_WIDE       = 16
	LC_STYLED     = 32
	LC_WIDESTYLED = 64
	LC_INTERIORS  = 128
)

GetDeviceCaps LINECAPS constants

View Source
const (
	PC_NONE        = 0
	PC_POLYGON     = 1
	PC_POLYPOLYGON = 256
	PC_PATHS       = 512
	PC_RECTANGLE   = 2
	PC_WINDPOLYGON = 4
	PC_SCANLINE    = 8
	PC_TRAPEZOID   = 4
	PC_WIDE        = 16
	PC_STYLED      = 32
	PC_WIDESTYLED  = 64
	PC_INTERIORS   = 128
)

GetDeviceCaps POLYGONALCAPS constants

View Source
const (
	TC_OP_CHARACTER = 1
	TC_OP_STROKE    = 2
	TC_CP_STROKE    = 4
	TC_CR_90        = 8
	TC_CR_ANY       = 16
	TC_SF_X_YINDEP  = 32
	TC_SA_DOUBLE    = 64
	TC_SA_INTEGER   = 128
	TC_SA_CONTIN    = 256
	TC_EA_DOUBLE    = 512
	TC_IA_ABLE      = 1024
	TC_UA_ABLE      = 2048
	TC_SO_ABLE      = 4096
	TC_RA_ABLE      = 8192
	TC_VA_ABLE      = 16384
	TC_RESERVED     = 32768
	TC_SCROLLBLT    = 65536
)

GetDeviceCaps TEXTCAPS constants

Variables

This section is empty.

Functions

func AngleChord added in v2.3.2

func AngleChord(DC types.HDC, x1, y1, x2, y2, angle1, angle2 types.Integer) types.LongBool

func Arc added in v2.3.2

func Arc(DC types.HDC, Left, Top, Right, Bottom, Angle16Deg, Angle16DegLength types.Integer) types.LongBool

func BeginPaint added in v2.3.2

func BeginPaint(Handle types.HWND, PS types.TagPaintStruct) types.HDC

func BitBlt added in v2.3.2

func BitBlt(DestDC types.HDC, X, Y, Width, Height types.Integer, SrcDC types.HDC, XSrc, YSrc types.Integer, Rop types.DWORD) types.LongBool

func CallNextHookEx added in v2.3.2

func CallNextHookEx(hhk types.HOOK, ncode types.Integer, WParam types.WPARAM, LParam types.LPARAM) types.Integer

func CallWindowProc added in v2.3.2

func CallWindowProc(lpPrevWndFunc types.TFarProc, Handle types.HWND, Msg types.UINT, WParam types.WPARAM, LParam types.LPARAM) types.Integer

func ClientToScreen added in v2.3.2

func ClientToScreen(handle types.HWND, p *types.Point) bool

func CombineRgn added in v2.3.2

func CombineRgn(dest, src1, src2 *types.HRGN, fnCombineMode consts.RNGFnCombineMode) int32

func CreateBitmap added in v2.3.2

func CreateBitmap(Width, Height types.Integer, Planes, BitCount types.LongInt, BitmapBits types.Pointer) types.HBITMAP

func CreateBrushIndirect added in v2.3.2

func CreateBrushIndirect(LogBrush types.TagLogBrush) types.HBRUSH

func CreateBrushWithRadialGradient added in v2.3.2

func CreateBrushWithRadialGradient(LogBrush types.TLogRadialGradient) types.HBRUSH

func CreateCaret added in v2.3.2

func CreateCaret(Handle types.HWND, Bitmap types.HBITMAP, width, Height types.Integer) types.LongBool

func CreateCompatibleBitmap added in v2.3.2

func CreateCompatibleBitmap(DC types.HDC, Width, Height types.Integer) types.HBITMAP

func CreateCompatibleDC added in v2.3.2

func CreateCompatibleDC(DC types.HDC) types.HDC

func CreateDIBSection added in v2.3.2

func CreateDIBSection(DC types.HDC, BitmapInfo types.TagBitmapInfo, Usage types.UINT, Bits types.Pointer, SectionHandle types.THandle, Offset types.DWORD) types.HBITMAP

func CreateDIBitmap added in v2.3.2

func CreateDIBitmap(DC types.HDC, InfoHeader types.TagBitmapInfoHeader, dwUsage types.DWORD, InitBits types.PChar, InitInfo types.TagBitmapInfo, wUsage types.UINT) types.HBITMAP

func CreateEllipticRgn added in v2.3.2

func CreateEllipticRgn(X1, Y1, X2, Y2 types.Integer) *types.HRGN

func CreateFontIndirect added in v2.3.2

func CreateFontIndirect(LogFont types.LogFontA) types.HFONT

func CreateFontIndirectEx added in v2.3.2

func CreateFontIndirectEx(LogFont types.LogFontA, LongFontName types.PChar) types.HFONT

func CreateIconIndirect added in v2.3.2

func CreateIconIndirect(IconInfo types.ICONINFO) types.HICON

func CreatePalette added in v2.3.2

func CreatePalette(LogPalette types.TagLogPalette) types.HPALETTE

func CreatePatternBrush added in v2.3.2

func CreatePatternBrush(ABitmap types.HBITMAP) types.HBRUSH

func CreatePenIndirect added in v2.3.2

func CreatePenIndirect(LogPen types.TagLogPen) types.HPEN

func CreatePolygonRgn added in v2.3.2

func CreatePolygonRgn(points []types.Point, NumPts types.Integer, FillMode types.Integer) *types.HRGN

func CreateRectRgn added in v2.3.2

func CreateRectRgn(X1, Y1, X2, Y2 int32) *types.HRGN

func CreateRoundRectRgn added in v2.3.2

func CreateRoundRectRgn(_para1, _para2, _para3, _para4, _para5, _para6 types.LongInt) *types.HRGN

func DefSubclassProc added in v2.3.2

func DefSubclassProc(handle types.HWND, msg types.UINT, wParam types.WPARAM, lParam types.LPARAM) types.LResult

func DefWindowProc added in v2.3.2

func DefWindowProc(handle types.HWND, msg types.UINT, wParam types.WPARAM, lParam types.LPARAM) types.LResult

func DeleteCriticalSection added in v2.3.2

func DeleteCriticalSection(CritSection types.TCriticalSection)

func DeleteDC added in v2.3.2

func DeleteDC(hDC types.HDC) types.LongBool

func DeleteObject added in v2.3.2

func DeleteObject(aRGN *types.HRGN) bool

func DestroyCaret added in v2.3.2

func DestroyCaret(Handle types.HWND) types.LongBool

func DestroyCursor added in v2.3.2

func DestroyCursor(Handle types.HCURSOR) types.LongBool

func DestroyIcon added in v2.3.2

func DestroyIcon(Handle types.HICON) types.LongBool

func DrawEdge added in v2.3.2

func DrawEdge(DC types.HDC, Rect types.Rect, edge types.Cardinal, grfFlags types.Cardinal) types.LongBool

func DrawFocusRect added in v2.3.2

func DrawFocusRect(DC types.HDC, Rect types.Rect) types.LongBool

func DrawFrameControl added in v2.3.2

func DrawFrameControl(DC types.HDC, Rect types.Rect, uType, uState types.Cardinal) types.LongBool

func DrawText added in v2.3.2

func DrawText(DC types.HDC, Str types.PChar, Count types.Integer, Rect types.Rect, Flags types.Cardinal) types.Integer

func Ellipse added in v2.3.2

func Ellipse(DC types.HDC, x1, y1, x2, y2 types.Integer) types.LongBool

func EnableScrollBar added in v2.3.2

func EnableScrollBar(Wnd types.HWND, wSBflags, wArrows types.Cardinal) types.LongBool

func EnableWindow added in v2.3.2

func EnableWindow(hWnd types.HWND, bEnable types.LongBool) types.LongBool

func EndPaint added in v2.3.2

func EndPaint(Handle types.HWND, PS types.TagPaintStruct) types.Integer

func EnterCriticalSection added in v2.3.2

func EnterCriticalSection(CritSection types.TCriticalSection)

func EnumDisplayMonitors added in v2.3.2

func EnumDisplayMonitors(hdc types.HDC, lprcClip *types.Rect, callback *EnumDisplayMonitorsCallback, dwData types.LPARAM) types.LongBool

func EnumFontFamilies added in v2.3.2

func EnumFontFamilies(DC types.HDC, Family types.PChar, callback *EnumFontFamiliesCallback, LParam types.LPARAM) types.LongInt

func EnumFontFamiliesEx added in v2.3.2

func EnumFontFamiliesEx(DC types.HDC, lpLogFont types.LogFontA, callback *EnumFontFamiliesExCallback, LParam types.LPARAM, Flags types.DWORD) types.LongInt

func EqualRgn added in v2.3.2

func EqualRgn(Rgn1 *types.HRGN, Rgn2 *types.HRGN) types.LongBool

func ExcludeClipRect added in v2.3.2

func ExcludeClipRect(dc types.HDC, Left, Top, Right, Bottom types.Integer) types.Integer

func ExtCreatePen added in v2.3.2

func ExtCreatePen(dwPenStyle, dwWidth types.DWORD, lplb types.TagLogBrush, dwStyleCount types.DWORD, lpStyle types.DWORD) types.HPEN

func ExtSelectClipRGN added in v2.3.2

func ExtSelectClipRGN(dc types.HDC, rgn *types.HRGN, Mode types.LongInt) types.Integer

func ExtTextOut added in v2.3.2

func ExtTextOut(DC types.HDC, X, Y types.Integer, Options types.LongInt, Rect types.Rect, Str types.PChar, Count types.LongInt, Dx types.Integer) types.LongBool

func FillRect added in v2.3.2

func FillRect(DC types.HDC, Rect types.Rect, Brush types.HBRUSH) types.LongBool

func FillRgn added in v2.3.2

func FillRgn(DC types.HDC, RegionHnd *types.HRGN, hbr types.HBRUSH) types.BOOL

func FloodFill added in v2.3.2

func FloodFill(DC types.HDC, X, Y types.Integer, Color types.TGraphicsColor, FillStyle types.TGraphicsFillStyle, Brush types.HBRUSH) types.LongBool

func FrameRect added in v2.3.2

func FrameRect(DC types.HDC, Rect types.Rect, hBr types.HBRUSH) types.Integer

func GET_X_LPARAM

func GET_X_LPARAM(lp uintptr) int32

func GET_Y_LPARAM

func GET_Y_LPARAM(lp uintptr) int32

func GetActiveWindow added in v2.3.2

func GetActiveWindow() types.HWND

func GetBitmapBits added in v2.3.2

func GetBitmapBits(Bitmap types.HBITMAP, Count types.LongInt, Bits types.Pointer) types.LongInt

func GetBkColor added in v2.3.2

func GetBkColor(DC types.HDC) types.TColorRef

func GetCapture added in v2.3.2

func GetCapture() types.HWND

func GetCaretPos added in v2.3.2

func GetCaretPos(lpPoint types.Point) types.LongBool

func GetClientRect added in v2.3.2

func GetClientRect(handle types.HWND, Rect types.Rect) types.LongBool

func GetClipBox added in v2.3.2

func GetClipBox(DC types.HDC, lpRect types.Rect) types.LongInt

func GetClipRGN added in v2.3.2

func GetClipRGN(DC types.HDC, RGN *types.HRGN) types.LongInt

func GetCurrentObject added in v2.3.2

func GetCurrentObject(DC types.HDC, uObjectType types.UINT) types.HGDIOBJ

func GetCursorPos added in v2.3.2

func GetCursorPos(lpPoint types.Point) types.LongBool

func GetDC added in v2.3.2

func GetDC(hWnd types.HWND) types.HDC

func GetDIBits added in v2.3.2

func GetDIBits(DC types.HDC, Bitmap types.HBITMAP, StartScan, NumScans types.UINT, Bits types.Pointer, BitInfo types.TagBitmapInfo, Usage types.UINT) types.Integer

func GetDeviceCaps added in v2.3.2

func GetDeviceCaps(DC types.HDC, Index types.Integer) types.Integer

func GetDoubleClickTime added in v2.3.2

func GetDoubleClickTime() types.UINT

func GetDpiForMonitor added in v2.3.2

func GetDpiForMonitor(hmonitor types.HMONITOR, dpiType MONITOR_DPI_TYPE, dpiX *types.UINT, dpiY *types.UINT) types.HRESULT

func GetFocus added in v2.3.2

func GetFocus() types.HWND

func GetFontLanguageInfo added in v2.3.2

func GetFontLanguageInfo(DC types.HDC) types.DWORD

func GetForegroundWindow added in v2.3.2

func GetForegroundWindow() types.HWND

func GetIconInfo added in v2.3.2

func GetIconInfo(AIcon types.HICON, AIconInfo types.ICONINFO) types.LongBool

func GetKeyState added in v2.3.2

func GetKeyState(nVirtKey types.Integer) types.Smallint

func GetMapMode added in v2.3.2

func GetMapMode(DC types.HDC) types.Integer

func GetMonitorInfo added in v2.3.2

func GetMonitorInfo(hMonitor types.HMONITOR, lpmi types.TagMonitorInfo) types.LongBool

func GetObject added in v2.3.2

func GetObject(GDIObject types.HGDIOBJ, BufSize types.Integer, Buf types.Pointer) types.Integer

func GetParent added in v2.3.2

func GetParent(Handle types.HWND) types.HWND

func GetProp added in v2.3.2

func GetProp(Handle types.HWND, Str types.PChar) types.Pointer

func GetROP2 added in v2.3.2

func GetROP2(DC types.HDC) types.Integer

func GetRgnBox added in v2.3.2

func GetRgnBox(RGN *types.HRGN, lpRect types.Rect) types.LongInt

func GetScrollInfo added in v2.3.2

func GetScrollInfo(Handle types.HWND, SBStyle types.Integer, ScrollInfo types.TagScrollInfo) types.LongBool

func GetStockObject added in v2.3.2

func GetStockObject(Value types.Integer) types.THandle

func GetSysColor added in v2.3.2

func GetSysColor(nIndex types.Integer) types.DWORD

func GetSysColorBrush added in v2.3.2

func GetSysColorBrush(nIndex types.Integer) types.HBRUSH

func GetSystemMetrics added in v2.3.2

func GetSystemMetrics(nIndex types.Integer) types.Integer

func GetTextColor added in v2.3.2

func GetTextColor(DC types.HDC) types.TColorRef

func GetTextExtentExPoint added in v2.3.2

func GetTextExtentExPoint(DC types.HDC, Str types.PChar, Count, MaxWidth types.Integer, MaxCount, PartialWidths types.Integer, Size types.Size) types.LongBool

func GetTextExtentPoint added in v2.3.2

func GetTextExtentPoint(DC types.HDC, Str types.PChar, Count types.Integer, Size types.Size) types.LongBool

func GetTextExtentPoint32 added in v2.3.2

func GetTextExtentPoint32(DC types.HDC, Str types.PChar, Count types.Integer, Size types.Size) types.LongBool

func GetTextMetrics added in v2.3.2

func GetTextMetrics(DC types.HDC, TM types.TagTextMetricA) types.LongBool

func GetViewPortExtEx added in v2.3.2

func GetViewPortExtEx(DC types.HDC, Size types.Size) types.Integer

func GetViewPortOrgEx added in v2.3.2

func GetViewPortOrgEx(DC types.HDC, P types.Point) types.Integer

func GetWindowExtEx added in v2.3.2

func GetWindowExtEx(DC types.HDC, Size types.Size) types.Integer

func GetWindowLong added in v2.3.2

func GetWindowLong(Handle types.HWND, int types.Integer) types.PtrInt

func GetWindowOrgEx added in v2.3.2

func GetWindowOrgEx(dc types.HDC, P types.Point) types.Integer

func GetWindowRect added in v2.3.2

func GetWindowRect(Handle types.HWND, Rect types.Rect) types.Integer

func GetWindowSize added in v2.3.2

func GetWindowSize(Handle types.HWND, Width, Height types.Integer) types.LongBool

func GradientFill added in v2.3.2

func GradientFill(DC types.HDC, Vertices types.TagTriVertex, NumVertices types.LongInt, Meshes types.Pointer, NumMeshes types.LongInt, Mode types.LongInt) types.LongBool

func HIBYTE

func HIBYTE(w uint16) byte

func HIWORD

func HIWORD(dw uint32) uint16

func HideCaret added in v2.3.2

func HideCaret(hWnd types.HWND) types.LongBool

func InitializeCriticalSection added in v2.3.2

func InitializeCriticalSection(CritSection types.TCriticalSection)

func IntersectClipRect added in v2.3.2

func IntersectClipRect(dc types.HDC, Left, Top, Right, Bottom types.Integer) types.Integer

func InvalidateRect added in v2.3.2

func InvalidateRect(aHandle types.HWND, ARect types.Rect, bErase types.LongBool) types.LongBool

func InvalidateRgn added in v2.3.2

func InvalidateRgn(Handle types.HWND, Rgn *types.HRGN, Erase types.LongBool) types.LongBool

func IsDBCSLeadByte added in v2.3.2

func IsDBCSLeadByte(TestChar byte) types.LongBool

func IsIconic added in v2.3.2

func IsIconic(handle types.HWND) types.LongBool

func IsWindow added in v2.3.2

func IsWindow(handle types.HWND) types.LongBool

func IsWindowEnabled added in v2.3.2

func IsWindowEnabled(handle types.HWND) types.LongBool

func IsWindowVisible added in v2.3.2

func IsWindowVisible(handle types.HWND) types.LongBool

func IsZoomed added in v2.3.2

func IsZoomed(handle types.HWND) types.LongBool

func LOBYTE

func LOBYTE(w uint16) byte

func LOWORD

func LOWORD(dw uint32) uint16

func LeaveCriticalSection added in v2.3.2

func LeaveCriticalSection(CritSection types.TCriticalSection)

func LineTo added in v2.3.2

func LineTo(DC types.HDC, X, Y types.Integer) types.LongBool

func LoadBitmap added in v2.3.2

func LoadBitmap(hInstance types.THandle, lpBitmapName types.PChar) types.HBITMAP

func LoadIcon added in v2.3.2

func LoadIcon(hInstance types.THandle, lpIconName types.PChar) types.HICON

func MaskBlt added in v2.3.2

func MaskBlt(DestDC types.HDC, X, Y, Width, Height types.Integer, SrcDC types.HDC, XSrc, YSrc types.Integer, Mask types.HBITMAP, XMask, YMask types.Integer) types.LongBool

func MaskBltRop added in v2.3.2

func MaskBltRop(DestDC types.HDC, X, Y, Width, Height types.Integer, SrcDC types.HDC, XSrc, YSrc types.Integer, Mask types.HBITMAP, XMask, YMask types.Integer, Rop types.DWORD) types.LongBool

func MessageBox added in v2.3.2

func MessageBox(hWnd types.HWND, lpText, lpCaption types.PChar, uType types.Cardinal) types.Integer

func MonitorFromPoint added in v2.3.2

func MonitorFromPoint(ptScreenCoords types.Point, dwFlags types.DWORD) types.HMONITOR

func MonitorFromRect added in v2.3.2

func MonitorFromRect(lprcScreenCoords types.Rect, dwFlags types.DWORD) types.HMONITOR

func MonitorFromWindow added in v2.3.2

func MonitorFromWindow(hWnd types.HWND, dwFlags types.DWORD) types.HMONITOR

func MoveToEx added in v2.3.2

func MoveToEx(DC types.HDC, X, Y types.Integer, OldPoint types.Point) types.LongBool

func OffsetRgn added in v2.3.2

func OffsetRgn(RGN *types.HRGN, nXOffset, nYOffset types.Integer) types.Integer

func OnPaint added in v2.3.2

func OnPaint(handle types.HWND)

func PaintRgn added in v2.3.2

func PaintRgn(DC types.HDC, RGN *types.HRGN) types.LongBool

func Pie added in v2.3.2

func Pie(DC types.HDC, x1, y1, x2, y2, sx, sy, ex, ey types.Integer) types.LongBool

func PolyBezier added in v2.3.2

func PolyBezier(DC types.HDC, Points types.Point, NumPts types.Integer, Filled, Continuous types.LongBool) types.LongBool

func Polygon added in v2.3.2

func Polygon(DC types.HDC, Points types.Point, NumPts types.Integer, Winding types.LongBool) types.LongBool

func Polyline added in v2.3.2

func Polyline(DC types.HDC, Points types.Point, NumPts types.Integer) types.LongBool

func PostMessage added in v2.3.2

func PostMessage(Handle types.HWND, Msg types.Cardinal, WParam types.WPARAM, LParam types.LPARAM) types.LongBool

func PtInRegion added in v2.3.2

func PtInRegion(RGN *types.HRGN, X, Y int32) bool

func RealizePalette added in v2.3.2

func RealizePalette(DC types.HDC) types.Cardinal

func RectInRegion added in v2.3.2

func RectInRegion(RGN *types.HRGN, ARect types.Rect) types.LongBool

func RectVisible added in v2.3.2

func RectVisible(DC types.HDC, ARect types.Rect) types.LongBool

func Rectangle added in v2.3.2

func Rectangle(DC types.HDC, X1, Y1, X2, Y2 types.Integer) types.LongBool

func RedrawWindow added in v2.3.2

func RedrawWindow(Wnd types.HWND, lprcUpdate types.Rect, hrgnUpdate *types.HRGN, flags types.UINT) types.LongBool

func ReleaseCapture added in v2.3.2

func ReleaseCapture() types.LongBool

func ReleaseDC added in v2.3.2

func ReleaseDC(hWnd types.HWND, DC types.HDC) types.Integer

func RemoveProp added in v2.3.2

func RemoveProp(Handle types.HWND, Str types.PChar) types.THandle

func RestoreDC added in v2.3.2

func RestoreDC(DC types.HDC, SavedDC types.Integer) types.LongBool

func RoundRect added in v2.3.2

func RoundRect(DC types.HDC, X1, Y1, X2, Y2 types.Integer, RX, RY types.Integer) types.LongBool

func SaveDC added in v2.3.2

func SaveDC(DC types.HDC) types.Integer

func ScalePercent added in v2.3.2

func ScalePercent() float32

func ScreenToClient added in v2.3.2

func ScreenToClient(handle types.HWND, p *types.Point) int32

func ScrollWindowEx added in v2.3.2

func ScrollWindowEx(hWnd types.HWND, dx, dy types.Integer, prcScroll, prcClip types.Rect, hrgnUpdate *types.HRGN, prcUpdate types.Rect, flags types.UINT) types.LongBool

func SelectClipRGN added in v2.3.2

func SelectClipRGN(DC types.HDC, RGN *types.HRGN) types.LongInt

func SelectObject added in v2.3.2

func SelectObject(DC types.HDC, GDIObj types.HGDIOBJ) types.HGDIOBJ

func SelectPalette added in v2.3.2

func SelectPalette(DC types.HDC, Palette types.HPALETTE, ForceBackground types.LongBool) types.HPALETTE

func SendMessage added in v2.3.2

func SendMessage(HandleWnd types.HWND, Msg types.Cardinal, WParam types.WPARAM, LParam types.LPARAM) types.LResult

func SetActiveWindow added in v2.3.2

func SetActiveWindow(Handle types.HWND) types.HWND

func SetBkColor added in v2.3.2

func SetBkColor(DC types.HDC, Color types.TColorRef) types.TColorRef

func SetBkMode added in v2.3.2

func SetBkMode(DC types.HDC, bkMode types.Integer) types.Integer

func SetCapture added in v2.3.2

func SetCapture(AHandle types.HWND) types.HWND

func SetCaretPos added in v2.3.2

func SetCaretPos(X, Y types.Integer) types.LongBool

func SetCaretPosEx added in v2.3.2

func SetCaretPosEx(handle types.HWND, X, Y types.Integer) types.LongBool

func SetCursorPos added in v2.3.2

func SetCursorPos(X, Y types.Integer) types.LongBool

func SetFocus added in v2.3.2

func SetFocus(hWnd types.HWND) types.HWND

func SetForegroundWindow added in v2.3.2

func SetForegroundWindow(hWnd types.HWND) types.LongBool

func SetMapMode added in v2.3.2

func SetMapMode(DC types.HDC, fnMapMode types.Integer) types.Integer

func SetMenu added in v2.3.2

func SetMenu(AWindowHandle types.HWND, AMenuHandle types.HMENU) types.LongBool

func SetParent added in v2.3.2

func SetParent(hWndChild types.HWND, hWndParent types.HWND) types.HWND

func SetProp added in v2.3.2

func SetProp(Handle types.HWND, Str types.PChar, Data types.Pointer) types.LongBool

func SetROP2 added in v2.3.2

func SetROP2(DC types.HDC, Mode types.Integer) types.Integer

func SetRectRgn added in v2.3.2

func SetRectRgn(aRGN *types.HRGN, X1, Y1, X2, Y2 int32) bool

func SetScrollInfo added in v2.3.2

func SetScrollInfo(Handle types.HWND, SBStyle types.Integer, ScrollInfo types.TagScrollInfo, Redraw types.LongBool) types.Integer

func SetStretchBltMode added in v2.3.2

func SetStretchBltMode(DC types.HDC, StretchMode types.Integer) types.Integer

func SetTextCharacterExtra added in v2.3.2

func SetTextCharacterExtra(_hdc types.HDC, nCharExtra types.Integer) types.Integer

func SetTextColor added in v2.3.2

func SetTextColor(DC types.HDC, Color types.TColorRef) types.TColorRef

func SetViewPortExtEx added in v2.3.2

func SetViewPortExtEx(DC types.HDC, XExtent, YExtent types.Integer, OldSize types.Size) types.LongBool

func SetViewPortOrgEx added in v2.3.2

func SetViewPortOrgEx(DC types.HDC, NewX, NewY types.Integer, OldPoint types.Point) types.LongBool

func SetWindowExtEx added in v2.3.2

func SetWindowExtEx(DC types.HDC, XExtent, YExtent types.Integer, OldSize types.Size) types.LongBool

func SetWindowLong added in v2.3.2

func SetWindowLong(Handle types.HWND, Idx types.Integer, NewLong types.PtrInt) types.PtrInt

func SetWindowOrgEx added in v2.3.2

func SetWindowOrgEx(dc types.HDC, NewX, NewY types.Integer, OldPoint types.Point) types.LongBool

func SetWindowPos added in v2.3.2

func SetWindowPos(hWnd types.HWND, hWndInsertAfter types.HWND, X, Y, cx, cy types.Integer, uFlags types.UINT) types.LongBool

func SetWindowRgn added in v2.3.2

func SetWindowRgn(handle types.HWND, hRgn *types.HRGN, bRedraw bool) types.LongInt

func ShowCaret added in v2.3.2

func ShowCaret(hWnd types.HWND) types.LongBool

func ShowScrollBar added in v2.3.2

func ShowScrollBar(Handle types.HWND, wBar types.Integer, bShow types.LongBool) types.LongBool

func ShowWindow added in v2.3.2

func ShowWindow(hWnd types.HWND, nCmdShow types.Integer) types.LongBool

func StretchBlt added in v2.3.2

func StretchBlt(DestDC types.HDC, X, Y, Width, Height types.Integer, SrcDC types.HDC, XSrc, YSrc, SrcWidth, SrcHeight types.Integer, Rop types.Cardinal) types.LongBool

func StretchDIBits added in v2.3.2

func StretchDIBits(DC types.HDC, DestX, DestY, DestWidth, DestHeight, SrcX, SrcY, SrcWidth, SrcHeight types.Integer, Bits types.Pointer, BitsInfo types.TagBitmapInfo, Usage types.UINT, Rop types.DWORD) types.Integer

func SystemParametersInfo added in v2.3.2

func SystemParametersInfo(uiAction types.DWORD, uiParam types.DWORD, pvParam types.Pointer, fWinIni types.DWORD) types.LongBool

func TextOut added in v2.3.2

func TextOut(DC types.HDC, X, Y types.Integer, Str types.PChar, Count types.Integer) types.LongBool

func UpdateWindow added in v2.3.2

func UpdateWindow(Handle types.HWND) types.LongBool

func WindowFromPoint added in v2.3.2

func WindowFromPoint(Point types.Point) types.HWND

Types

type EnumDisplayMonitorsCallback

type EnumDisplayMonitorsCallback struct {
	// contains filtered or unexported fields
}

func NewEnumDisplayMonitorsCallback

func NewEnumDisplayMonitorsCallback() *EnumDisplayMonitorsCallback

func (*EnumDisplayMonitorsCallback) Callback

func (m *EnumDisplayMonitorsCallback) Callback(fn enumDisplayMonitorsProc)

func (*EnumDisplayMonitorsCallback) Free

func (m *EnumDisplayMonitorsCallback) Free()

Free 使用完需要将释放掉

type EnumFontFamiliesCallback

type EnumFontFamiliesCallback struct {
	// contains filtered or unexported fields
}

func NewEnumFontFamiliesCallback

func NewEnumFontFamiliesCallback() *EnumFontFamiliesCallback

func (*EnumFontFamiliesCallback) Callback

func (m *EnumFontFamiliesCallback) Callback(fn enumFontFamiliesProc)

func (*EnumFontFamiliesCallback) Free

func (m *EnumFontFamiliesCallback) Free()

Free 使用完需要将释放掉

type EnumFontFamiliesExCallback

type EnumFontFamiliesExCallback struct {
	// contains filtered or unexported fields
}

func NewEnumFontFamiliesExCallback

func NewEnumFontFamiliesExCallback() *EnumFontFamiliesExCallback

func (*EnumFontFamiliesExCallback) Callback

func (m *EnumFontFamiliesExCallback) Callback(fn enumFontFamiliesExProc)

func (*EnumFontFamiliesExCallback) Free

func (m *EnumFontFamiliesExCallback) Free()

Free 使用完需要将释放掉

type HCursor

type HCursor struct {
	// contains filtered or unexported fields
}

func LoadCursor added in v2.3.2

func LoadCursor(handle types.HWND, lpCursorName int32) *HCursor

func SetCursor added in v2.3.2

func SetCursor(hCursor *HCursor) *HCursor

func (*HCursor) Free

func (m *HCursor) Free()

type MONITOR_DPI_TYPE added in v2.3.2

type MONITOR_DPI_TYPE int32
const (
	MDT_EFFECTIVE_DPI MONITOR_DPI_TYPE = 0
	MDT_ANGULAR_DPI   MONITOR_DPI_TYPE = 1
	MDT_RAW_DPI       MONITOR_DPI_TYPE = 2
	MDT_DEFAULT       MONITOR_DPI_TYPE = 0
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL