Title bar redraw

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
klownboy
Posts: 4480
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Title bar redraw

Post by klownboy »

For over 3 years now (July 2023), scripters or power users have been able to turn the title bar of (via external programs like AHK) and any XYplorer tab changes or toolbar use would not cause a redraw of the title bar. In other words, we could turn the title bar off at startup and not see it again unless we specifically turned it back on. Now with this last beta, v28.40.0101 involving the toolbar, that behavior that we enjoyed since 2023 is gone again. So something in Beta v28.40.0101 is causing a title bar redraw when accomplishing routine tasks like tab changes. Don, any chance you could accomplish that last beta without the title bar redraws? Thanks.

admin
Site Admin
Posts: 67228
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Title bar redraw

Post by admin »

You mean the main window title bar?

klownboy
Posts: 4480
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Title bar redraw

Post by klownboy »

Yes, that's the one.

admin
Site Admin
Posts: 67228
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Title bar redraw

Post by admin »

What do you mean by "turn the title bar off"?

klownboy
Posts: 4480
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Title bar redraw

Post by klownboy »

By turn off, I mean not displayed.
It's a small AHK script that sets the style to 0xC00000

Code: Select all

#SingleInstance force
DetectHiddenWindows true
   If ( HWND := WinExist("ahk_class ThunderRT6FormDC") )
   {
     if (WinActive("ahk_id " HWND)) {
        Style := WinGetStyle("ahk_id " HWND)
        WinSetStyle "^0xC00000", "ahk_id " HWND ;- remove title and border
        ExitApp
     }
      ExitApp
   }
In Windows it's probably referred to as 0x00C00000 = WS_CAPTION (WS_BORDER & WS_DLGFRAME)

admin
Site Admin
Posts: 67228
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Title bar redraw

Post by admin »

Nope, this is not coming back, sorry.

klownboy
Posts: 4480
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Title bar redraw

Post by klownboy »

That's a bummer. It was nice while it lasted. Though I don't see the logic in checking (and redrawing the title bar if necessary) on so many events like tab changes, folder changes, etc.

admin
Site Admin
Posts: 67228
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Title bar redraw

Post by admin »

It shows the current path.

klownboy
Posts: 4480
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Title bar redraw

Post by klownboy »

admin wrote: ↑25 Sep 2026 19:08 It shows the current path.
Well yes, if you want it to. Mine only displayed the current revision, <app> <ver> which I would look at before and after updating to a new revisoin by simply hitting a keyboard shortcut to turn the title bar on and off.

admin
Site Admin
Posts: 67228
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Title bar redraw

Post by admin »

Why do you want to hide it?

klownboy
Posts: 4480
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Title bar redraw

Post by klownboy »

It's easy to get used to the extra real estate especially when in a thumbnail views and you've hidden all the other bars (tab bars, toolbars, etc.).

When you said, it shows the folder path previously, that was the case for the last few years as well or users would have been complaining. So in that last beta something else tied into the title bar that caused it to be redrawn in a case like mine.

admin
Site Admin
Posts: 67228
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Title bar redraw

Post by admin »

In v28.40.0102 I made it so that the title bar is only redrawn when it changes.

klownboy
Posts: 4480
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Title bar redraw

Post by klownboy »

Thank you so much Don. :tup: :appl:

Post Reply