Windows Titlebar Remover
Results 1 to 16 of 16

Thread: Windows Titlebar Remover

  1. #1

    Lightbulb Windows Titlebar Remover

    I uploaded this to the Warbirds Library here at Sim-Outhouse -> http://www.sim-outhouse.com/sohforum...9524&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.

  2. #2
    Thanks and much needed Rich. Wondering if anyone else is having a problem getting to D/L past 99%.
    Do not fear the enemy, for they can take only your life. Fear the media far more, for they will destroy your honour.

  3. #3

    Lightbulb

    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).

  4. #4
    Quote Originally Posted by RichNagel View Post
    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)

  5. #5

    Lightbulb

    Quote Originally Posted by Roxane-21 View Post
    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.

  6. #6
    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?
    Do not fear the enemy, for they can take only your life. Fear the media far more, for they will destroy your honour.

  7. #7
    Quote Originally Posted by stoney View Post
    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?

  8. #8

    Lightbulb

    If anyone is having difficulty downloading my file from the Warbirds Library, I've attached the ZIP to this message. I don't know if that will help, but nevertheless.

    Windows_Titlebar_Remover.zip

    Unzip to your hard drive, and then run "Windows_Titlebar_Remover.exe".

  9. #9
    No matter what I try, this is what I get:
    Attached Thumbnails Attached Thumbnails grab_037.jpg  
    Do not fear the enemy, for they can take only your life. Fear the media far more, for they will destroy your honour.

  10. #10
    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 by RichNagel; November 2nd, 2022 at 01:42.

  11. #11
    Yeah, that's what I thought too.
    Do not fear the enemy, for they can take only your life. Fear the media far more, for they will destroy your honour.

  12. #12

    Lightbulb

    I'm not sure if this will help (as I'm familiar with Avast), but here is an article detailing how to temporarily disable Avast -> https://cybernews.com/best-antivirus...vast-antivirus .

  13. #13

    Lightbulb

    P.S. This probably won't help, but here are two alternate download locations for the file:

    https://www.flightsim.com/vbfs/fslib...e=cfs2wtbr.zip

    https://www.flightsim.com/vbfs/fslib...e=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.

  14. #14
    Thanks Rich. I'll keep trying.
    Do not fear the enemy, for they can take only your life. Fear the media far more, for they will destroy your honour.

  15. #15
    Got it now Rich. Your help worked!
    Do not fear the enemy, for they can take only your life. Fear the media far more, for they will destroy your honour.

  16. #16

    Cool

    Quote Originally Posted by stoney View Post
    Got it now Rich. Your help worked!
    Superb!

Members who have read this thread: 0

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •