Click here to Skip to main content
14,208,720 members
Rate this:
Please Sign up or sign in to vote.
See more:
I used Autohotkey to make a borderless fullscreen for my games. The main reason I did this is because I wanted to pin a window on top of the game. However the game window is always on top. It kind of defeats the purpose of a borderless fullscreen. Therefore is there some kind of method like a Autohotkey script or something to pin it on top and always keep it there.
Btw this is the script which I used

WinGetTitle, currentWindow, A
IfWinExist %currentWindow%
    WinSet, Style, ^0xC00000 ; toggle title bar
    WinMove, , , 0, 0, 1920, 1080

What I have tried:

I tried an always on top program to make the window to be on top however when I tried to put it on top of the game window the game covered the program
Updated 4-Jan-17 4:26am
Dave Kreskowiak 4-Jan-17 12:46pm
The only way this is going to work is if the game is in a window, not fullscreen. Yes, the window can be the size of the screen. That way, you can get your window on top on the other window.
Member 12928391 4-Jan-17 14:02pm
The thing is the game is in a window mode covering the screen yet it always stays on top. I can't pin anything on it
Dave Kreskowiak 4-Jan-17 14:46pm
Well, now you've got a problem where two windows will now be fighting to be TopMost. The best you're going to do is set your own window to be TopMost. After that, good luck.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190612.1 | Last Updated 4 Jan 2017
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100