summaryrefslogtreecommitdiff
path: root/redo/container_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/container_windows.go')
-rw-r--r--redo/container_windows.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/redo/container_windows.go b/redo/container_windows.go
index b79a79f..b484094 100644
--- a/redo/container_windows.go
+++ b/redo/container_windows.go
@@ -57,6 +57,14 @@ func (c *container) move(r *C.RECT) {
C.moveWindow(c.hwnd, C.int(r.left), C.int(r.top), C.int(r.right - r.left), C.int(r.bottom - r.top))
}
+func (c *container) show() {
+ C.ShowWindow(c.hwnd, C.SW_SHOW)
+}
+
+func (c *container) hide() {
+ C.ShowWindow(c.hwnd, C.SW_HIDE)
+}
+
//export storeContainerHWND
func storeContainerHWND(data unsafe.Pointer, hwnd C.HWND) {
c := (*container)(data)