Created
June 22, 2014 04:16
-
-
Save ozon/2c3b98161329b583b4a5 to your computer and use it in GitHub Desktop.
Borderless DMD for Pinball FX2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Persistent | |
SetBatchLines, -1 | |
Process, Priority,, High | |
Gui +LastFound | |
hWnd := WinExist() | |
DllCall( "RegisterShellHookWindow", UInt,hWnd ) | |
MsgNum := DllCall( "RegisterWindowMessage", Str,"SHELLHOOK" ) | |
OnMessage( MsgNum, "ShellMessage" ) | |
Return | |
ShellMessage( wParam,lParam ) | |
{ | |
If ( wParam = 1) | |
{ | |
IfWinExist Pinball FX2 DotMatrix | |
{ | |
WinSet, Style, -0xC00000 ; hide title bar | |
WinSet, Style, -0x800000 ; hide thin-line border | |
WinSet, Style, -0x400000 ; hide dialog frame | |
WinSet, Style, -0x40000 ; hide thickframe/sizebox | |
;WinMove, , , 0, 0, 1920, 1080 | |
} | |
} | |
} | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment