aboutsummaryrefslogtreecommitdiff
path: root/Windows.md
diff options
context:
space:
mode:
authorItay Grudev <itay+github.com@grudev.com>2022-06-07 16:53:38 +0300
committerGitHub <noreply@github.com>2022-06-07 16:53:38 +0300
commit0c4a0d8e9f752af83f76c51e3cbb632aa03fb7dd (patch)
tree3ea1181d0fbdcd22141a908504a5b6c34654d212 /Windows.md
parentProvide API for blocking sendMessage (#154) (diff)
parentLink to GH Pages documentation (diff)
downloadsingleapplication-0c4a0d8e9f752af83f76c51e3cbb632aa03fb7dd.tar.xz
Merge pull request #155 from itay-grudev/doxygen
Doxygen
Diffstat (limited to 'Windows.md')
-rw-r--r--Windows.md10
1 files changed, 3 insertions, 7 deletions
diff --git a/Windows.md b/Windows.md
index 13c52da..1b1548f 100644
--- a/Windows.md
+++ b/Windows.md
@@ -1,15 +1,13 @@
-Windows Specific Implementations
-================================
+# Windows Specifics
-Setting the foreground window
------------------------------
+## Setting the foreground window
In the `instanceStarted()` example in the `README` we demonstrated how an
application can bring it's primary instance window whenever a second copy
of the application is started.
On Windows the ability to bring the application windows to the foreground is
-restricted, see [`AllowSetForegroundWindow()`][AllowSetForegroundWindow] for more
+restricted, see [AllowSetForegroundWindow()][https://msdn.microsoft.com/en-us/library/windows/desktop/ms632668.aspx] for more
details.
The background process (the primary instance) can bring its windows to the
@@ -42,5 +40,3 @@ void App::instanceStarted() {
QApplication::setActiveWindow( [window/widget to set to the foreground] );
}
```
-
-[AllowSetForegroundWindow]: https://msdn.microsoft.com/en-us/library/windows/desktop/ms632668.aspx