MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / setForegroundWindow

Method setForegroundWindow

tools/os.cpp:247–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247void os::setForegroundWindow(QWidget *window)
248{
249#ifdef Q_OS_WIN
250 ShowWindow((HWND)window->winId(), SW_RESTORE);
251 SetForegroundWindow((HWND)window->winId());
252#else
253 Q_UNUSED(window)
254#endif
255}
256
257void os::setStartup(bool startup, bool hide)
258{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected