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




