forked from ying32/govcl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iwincontrol.go
77 lines (54 loc) · 1.28 KB
/
iwincontrol.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
//----------------------------------------
//
// Copyright © ying32. All Rights Reserved.
//
// Licensed under Apache License 2.0
//
//----------------------------------------
package vcl
import . "github.com/ying32/govcl/vcl/types"
type IWinControl interface {
IControl
Handle() HWND
SetHandle(HWND)
TabStop() bool
SetTabStop(bool)
TabOrder() TTabOrder
SetTabOrder(TTabOrder)
Showing() bool
ParentWindow() HWND
SetParentWindow(HWND)
ParentDoubleBuffered() bool
SetParentDoubleBuffered(bool)
ControlCount() int32
Controls(index int32) *TControl
Brush() *TBrush
//Padding() *TPadding
SetFocus()
Update()
CanFocus() bool
ContainsControl(IControl) bool
DisableAlign()
DockClientCount() int32
DockClients(int32) *TControl
DoubleBuffered() bool
SetDoubleBuffered(bool)
EnableAlign()
FindChildControl(string) *TControl
FlipChildren(bool)
Focused() bool
InsertControl(IControl)
RemoveControl(IControl)
ScaleBy(M int32, D int32)
ScrollBy(DeltaX int32, DeltaY int32)
MouseInClient() bool
AlignDisabled() bool
//Invalidate()
UpdateControlState()
HandleAllocated() bool
PaintTo(DC HDC, X int32, Y int32)
ClientToScreen(Point TPoint) TPoint
ClientToParent(Point TPoint, AParent IWinControl) TPoint
UseDockManager() bool
SetUseDockManager(value bool)
}