I've been trying to figure out how to get Dwarf Fortress to run in a fullscreen window (also know as a "borderless window") for a little while now. F11 sets the game to actual fullscreen, but that is not what I'm looking for as it closes when I Alt + Tab.
My AutoHotKey code to resize the window does not work; it sets the window to be far too small (less than 80x80). Just in case you wanted to see my AutoHotKey code, here it is:
^!g::
WinGetTitle, currentWindow, A
IfWinExist %currentWindow%
{
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, 2560, 1440
}
return
Press Ctrl + Alt + G and it should set the currently focused window to fullscreen (2560x1440 in my case).