• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Windows Titlebar Remover

RichNagel

Members +
I uploaded this to the Warbirds Library here at Sim-Outhouse -> http://www.sim-outhouse.com/sohforums/local_links.php?linkid=29524&catid=121 , some of you might find it useful. I created it for FS2000, but it also works fine for CFS2 (and probably FS2002 as well).

Included readme:

This simple AutoHotkey script will remove the Windows titlebar from any program or game running in windowed mode under Windows 10+. This is perfect for games (such as Microsoft Flight Simulator 2000 or Combat Flight Simulator 2) that don't render properly (or suffer from poor framerate) when run in fullscreen mode under Windows 10+, yet function well when run in a fullscreen window.

This AutoHotkey script doesn't suffer from some of the performance issues that DDrawCompat (or any other Direct3D or DirectDraw "wrapper") may introduce when attempting to accomplish the same thing.

After running the program or game and putting it in fullscreen windowed mode, press the left Windows key and the left mouse button simultaneously to remove the Windows titlebar. Press the left Windows key and the right mouse button simultaneously to display the Windows titlebar.

Note that if you run a program or game as an administrator, or have any of the various Windows compatibility modes enabled, you will need to execute this AutoHotkey script as an administrator for it to function when running the program or game.
 
Thanks and much needed Rich. Wondering if anyone else is having a problem getting to D/L past 99%.
 
I just downloaded the file, and it downloaded fine on my end. Strange that you're having problems, as the file is quite small (387kb).
 
I just downloaded the file, and it downloaded fine on my end. Strange that you're having problems, as the file is quite small (387kb).

My anti-malware program don't like this file and prevent me from downloading it... (Avast free version)
 
My anti-malware program don't like this file and prevent me from downloading it... (Avast free version)

I created the utility with AutoHotkey ( https://www.autohotkey.com ), and for some brainless reason there are several anti-malware and anti-virus programs that flag AutoHotkey (or any compiled script created with it) as bad. AutoHotkey has been around for ages, and is perfectly safe. I suppose that one COULD probably create something malicious with it, but most of the target audience is gamers.

I'm not familiar with Avast, but there's probably some place that you can click that will allow the download.

Nevertheless, if anyone wants the script source (which is also included in the ZIP) to compile on there own, here it is ("Windows_Titlebar_Remover.ahk"):

Code:
/*
Windows Titlebar Remover
------------------------
This simple AutoHotkey script will remove the Windows titlebar from any program
or game running in windowed mode under Windows 10+. This is perfect for games
(such as Microsoft Flight Simulator 2000 or Combat Flight Simulator 2) that
don't render properly (or suffer from poor framerate) when run in fullscreen
mode under Windows 10+, yet function well when run in a fullscreen window.

This AutoHotkey script doesn't suffer from some of the performance issues that
DDrawCompat (or any other Direct3D or DirectDraw "wrapper") may introduce when
attempting to accomplish the same thing.

After running the program or game and putting it in fullscreen windowed mode,
press the left Windows key and the left mouse button simultaneously to remove
the Windows titlebar. Press the left Windows key and the right mouse button
simultaneously to display the Windows titlebar.

Note that if you run a program or game as an administrator, or have any of the
various Windows compatibility modes enabled, you will need to execute this
AutoHotkey script as an administrator for it to function when running the
program or game.
*/

LWIN & LButton::
WinSet, Style, -0xC00000, A
return

LWIN & RButton::
WinSet, Style, +0xC00000, A
return

Save the code to a plain text file named "Windows_Titlebar_Remover.ahk", and compile with the AutoHotkey compiler.
 
Ok, I did that Rich and when I hit the exe. I get the following; (folder.rsrc, .data, .rdata, .text). What do I do with them?
 
Ok, I did that Rich and when I hit the exe. I get the following; (folder.rsrc, .data, .rdata, .text). What do I do with them?

I'm confused... I have no idea what would cause that. Was that when you were trying to compile the AutoHotkey script with the compiler that's included with AutoHotkey ( https://www.autohotkey.com ), or when you were trying to run the compiled script that's included in the file I uploaded to the Warbirds Library here at SOH?
 
I don't know what to tell you. Sounds like Avast is misbehaving. Funny how in that screenshot one of the options are "Upgrade your protection"... Yeah, pay us more money, and maybe we'll get it right then LOL.
 
Last edited:
P.S. This probably won't help, but here are two alternate download locations for the file:

https://www.flightsim.com/vbfs/fslib.php?do=search&fsec=0&fname=cfs2wtbr.zip

https://www.flightsim.com/vbfs/fslib.php?do=search&fsec=0&fname=fs2kwtbr.zip

Note that they are the exact same file, only different filenames, as Flightsim.com doesn't allow multiple categories/file libraries for a single file. The utility applies to CFS2 as well as FS2000, so I had to upload two different filenames to Flightsim.com (albeit, the same file) so that it/they would be added to two different file libraries.
 
Back
Top