Click here to Skip to main content
15,885,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
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


C++
^!f::
WinGetTitle, currentWindow, A
IfWinExist %currentWindow%
{
    WinSet, Style, ^0xC00000 ; toggle title bar
    WinMove, , , 0, 0, 1920, 1080
}
return


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
Posted
Updated 4-Jan-17 4:26am
v2
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900