diff options
author | Hennadii Chernyshchyk <genaloner@gmail.com> | 2022-04-06 00:04:31 +0300 |
---|---|---|
committer | Hennadii Chernyshchyk <genaloner@gmail.com> | 2022-04-06 00:32:30 +0300 |
commit | efdfa507dd5c534dd775bf817d155a34f9a1e6be (patch) | |
tree | 72b8224d83e272769d89efb8feb1007399413db6 /Windows.md | |
parent | Update CHANGELOG.md (diff) | |
download | singleapplication-efdfa507dd5c534dd775bf817d155a34f9a1e6be.tar.xz |
Switch to Doxygen to avoid documentation duplication
I also had to fix syntax a little in markdown and the header file.
Now checked on CI.
Diffstat (limited to 'Windows.md')
-rw-r--r-- | Windows.md | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1,15 +1,13 @@ -Windows Specific Implementations -================================ +# Windows Specific Implementations -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 |