Skip to content

Commit f907c92

Browse files
committed
update win package
1 parent 13c3593 commit f907c92

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pkg/win/constant.go

+15
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ const (
1111
CS_VREDRAW = 0x0001
1212
)
1313

14+
const (
15+
CW_USEDEFAULT = ^0x7fffffff
16+
)
17+
1418
// LoadCursor constants
1519
const (
1620
IDC_ARROW = 32512
@@ -29,6 +33,17 @@ const (
2933
SW_SHOWNORMAL = 1
3034
)
3135

36+
// Window styles
37+
const (
38+
WS_CAPTION = 0x00c00000
39+
WS_MAXIMIZEBOX = 0x00010000
40+
WS_MINIMIZEBOX = 0x00020000
41+
WS_OVERLAPPED = 0x00000000
42+
WS_SYSMENU = 0x00080000
43+
WS_THICKFRAME = 0x00040000
44+
WS_OVERLAPPEDWINDOW = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
45+
)
46+
3247
// WTS API constants
3348
const (
3449
WTS_CURRENT_SERVER_HANDLE = 0

0 commit comments

Comments
 (0)