(hwnd win.HWND, visible bool)
| 1374 | } |
| 1375 | |
| 1376 | func setWindowVisible(hwnd win.HWND, visible bool) { |
| 1377 | var cmd int32 |
| 1378 | if visible { |
| 1379 | cmd = win.SW_SHOWNA |
| 1380 | } else { |
| 1381 | cmd = win.SW_HIDE |
| 1382 | } |
| 1383 | win.ShowWindow(hwnd, cmd) |
| 1384 | } |
| 1385 | |
| 1386 | // BringToTop moves the *WindowBase to the top of the keyboard focus order. |
| 1387 | func (wb *WindowBase) BringToTop() error { |
no outgoing calls
no test coverage detected
searching dependent graphs…