Page 1 of 1

FileZilla hide local explorer

Posted: Sat Nov 09, 2024 8:57 pm
by Kwai chang caine
Hello at all

I try to hide the left local explorer in FileZilla
I have found the HWND of explorer himself in the several splitter gadget, but i don't know how move the separator of splitter to the maximum of left :oops:
Furthermore even manually with the mouse, it's impossible to push the separator to the zero position :|

Someone have a way for do that and forcing the splitter to push the separator in the zero left position ?

Code: Select all

HwndFilleZilla = FindWindow_(#Null, "FileZilla")
Debug "FilleZilla = " + Str(HwndFilleZilla) + " " + Hex(HwndFilleZilla)
Hwnd = FindWindowEx_(HwndFilleZilla, #Null, #Null, #Null)

While hwnd <> 0

 txt.s = Space(256)
 class.s = Space(256)
 GetWindowText_(hwnd, txt, 256)
 GetClassName_(hwnd, class,256)
 Debug Str(Hwnd) + " " + Hex(Hwnd) + "    " + txt + "    " + class  
 
 If txt = "splitterWindow"
  Break
 EndIf
  
 hwnd = GetWindow_(hwnd, #GW_HWNDNEXT)
 
Wend

; Splitter toute la page
Hwnd = FindWindowEx_(Hwnd, #Null, #Null, #Null)
Debug ""

While hwnd <> 0

 txt.s = Space(256)
 class.s = Space(256)
 GetWindowText_(hwnd, txt, 256)
 GetClassName_(hwnd, class,256)
 Debug Str(Hwnd) + " " + Hex(Hwnd) + "    " + txt + "    " + class  
 
 If txt = "splitterWindow"
  Break
 EndIf
 
 hwnd = GetWindow_(hwnd, #GW_HWNDNEXT)
 
Wend

Hwnd = FindWindowEx_(Hwnd, #Null, #Null, #Null)
Debug ""

While hwnd <> 0

 txt.s = Space(256)
 class.s = Space(256)
 GetWindowText_(hwnd, txt, 256)
 GetClassName_(hwnd, class,256)
 Debug Str(Hwnd) + " " + Hex(Hwnd) + "    " + txt + "    " + class  
 
 If txt = "splitter"
  Break
 EndIf
 
 hwnd = GetWindow_(hwnd, #GW_HWNDNEXT)
 
Wend

Hwnd = FindWindowEx_(Hwnd, #Null, #Null, #Null)
Debug ""

While hwnd <> 0

 txt.s = Space(256)
 class.s = Space(256)
 GetWindowText_(hwnd, txt, 256)
 GetClassName_(hwnd, class,256)
 Debug Str(Hwnd) + " " + Hex(Hwnd) + "    " + txt + "    " + class  
 
 If txt = "splitterWindow"
  Break
 EndIf
 
 hwnd = GetWindow_(hwnd, #GW_HWNDNEXT)
 
Wend

Hwnd = FindWindowEx_(Hwnd, #Null, #Null, #Null)
Debug ""

While hwnd <> 0

 txt.s = Space(256)
 class.s = Space(256)
 GetWindowText_(hwnd, txt, 256)
 GetClassName_(hwnd, class,256)
 Debug Str(Hwnd) + " " + Hex(Hwnd) + "    " + txt + "    " + class  
 
 If txt = "splitterWindow"
  Break
 EndIf
 
 hwnd = GetWindow_(hwnd, #GW_HWNDNEXT)
 
Wend

Hwnd = FindWindowEx_(Hwnd, #Null, #Null, #Null)
Debug ""

While hwnd <> 0

 txt.s = Space(256)
 class.s = Space(256)
 GetWindowText_(hwnd, txt, 256)
 GetClassName_(hwnd, class,256)
 Debug Str(Hwnd) + " " + Hex(Hwnd) + "    " + txt + "    " + class  
 
 If txt = "panel"
  MemHwnd = Hwnd
 EndIf
 
 hwnd = GetWindow_(hwnd, #GW_HWNDNEXT)
 
Wend
Hwnd = MemHwnd
Hwnd = FindWindowEx_(Hwnd, #Null, #Null, #Null)
Debug ""

While hwnd <> 0

 txt.s = Space(256)
 class.s = Space(256)
 GetWindowText_(hwnd, txt, 256)
 GetClassName_(hwnd, class,256)
 Debug Str(Hwnd) + " " + Hex(Hwnd) + "    " + txt + "    " + class  
 
 If class = "SysListView32"
  Break
 EndIf
 
 hwnd = GetWindow_(hwnd, #GW_HWNDNEXT)
 
Wend

ShowWindow_(hwnd, #SW_HIDE)

Have a good day

Re: FileZilla hide local explorer

Posted: Sat Nov 09, 2024 11:04 pm
by Kiffi
:?:

Image

Re: FileZilla hide local explorer

Posted: Sun Nov 10, 2024 6:58 pm
by Kwai chang caine
Hello Kiffi, glad to talk to you :D

I have see this option, when i have searched how hide this explorer :wink:
But that not works here :|
See by yourself, the itemmenu is not selected, and the left splitter are always here :|

Image

Re: FileZilla hide local explorer

Posted: Mon Nov 11, 2024 11:39 pm
by Kiffi
Sorry. I assumed that you can hide the entire left area. This is probably not the case.

Re: FileZilla hide local explorer

Posted: Tue Nov 12, 2024 5:02 pm
by Kwai chang caine
Me too :lol:
But apparently not with my Filezilla :|
Thanks when even for your help 8)

Re: FileZilla hide local explorer

Posted: Tue Nov 12, 2024 11:18 pm
by BarryG
It's been requested since 2005, so unlikely to happen -> https://trac.filezilla-project.org/ticket/2118

The bottom comment says v2.2.22 was the last version where you could slide the "Local site" pane left to hide it completely.

Re: FileZilla hide local explorer

Posted: Wed Nov 13, 2024 7:20 pm
by Kwai chang caine
I thought I was the only moron in the world who needed this option :oops:
You cheer me up, thank you very much BarryG for this information 8)
It's even crazier that this option existed and no longer exists :shock:

Re: FileZilla hide local explorer

Posted: Thu Nov 14, 2024 2:12 am
by BarryG
I'm trying to work on a solution for you, as I also use FileZilla. It's tricky.

Re: FileZilla hide local explorer

Posted: Fri Nov 15, 2024 5:36 pm
by Kwai chang caine
Thanks a lot BarryG 8)
It's tricky.
Yes it's incredible the number of splitters that intertwine with each other, :shock: I have never seen so many in a same application :lol: