Harbour Folder Viewer, ZTreewin Look & Feel

401 views
Skip to first unread message

HBQuerier

unread,
May 26, 2025, 6:02:42 PMMay 26
to Harbour Users
Hi,

This is a project I started years ago in Harbour, wasn't able to get far, and then completed a version in Python with the help of Claude.

Since the AIs are incredibly helpful now, I decided to re-try it in Harbour with Claude's assistance, and it worked out pretty well.


HTree_MiniGui_Folder.jpgHTree_ProgramFiles_Folder.jpg

HBQuerier

unread,
May 26, 2025, 6:11:00 PMMay 26
to Harbour Users
Note:  NOT a file manager, but rather a folder viewer, which is able to leverage external file manages.

The free standard Minigui library is required for compilation (primarily for clipboard functions), but the executable is provided.

fdaniele

unread,
May 27, 2025, 5:12:57 AMMay 27
to Harbour Users
Thanks very much and complements
Daniele

Ross McKenzie

unread,
May 27, 2025, 10:10:13 AMMay 27
to harbou...@googlegroups.com

I still use ZTreeWin.




--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/harbour-users/c1ded46e-e9dd-4585-a256-febbec8cbe53n%40googlegroups.com.

HBQuerier

unread,
May 27, 2025, 1:14:23 PMMay 27
to Harbour Users
A pleasure, thanks fdaniele.

HBQuerier

unread,
May 27, 2025, 1:17:08 PMMay 27
to Harbour Users
Same here, Ross.  You can assign ZTreeWin as one of the file managers for a given folder, by specifying it in the HTree.ini file, in the FileManagers section.  When you click F7, the file managers will pop up, and pressing Enter will open that File Manager for that specific folder.

[FileManagers]
ZTreeWin=C:\ZTreeWin\ZTW64.EXE "%s"
Explorer=explorer.exe "%s"
TotalCommander=C:\totalcmd\TOTALCMD64.EXE /O /T /R="%s"
FarManager=D:\Software\Freeware\TextMode_Console\FarManager\FarManager_64\Far.exe "%s"

Geoffrey Keenan

unread,
Jun 22, 2025, 7:02:21 PMJun 22
to harbou...@googlegroups.com
I need a tree type program in Harbour to select a folder then down into sub-folders etc, and this started to look good.
I can run the EXE file and it works. But when I try to compile it I get a number of errors saying a number of files are missing, eg folder.c, filemgr.c, udfs.c and several .obj files etc.
Where can I get these files?

Alternately, has anyone else produced a similar program (and not one which one is so complex?)  which can be incorporated into a Harbour application?

Geoffrey

Geoffrey Keenan

unread,
Jun 25, 2025, 6:47:31 PMJun 25
to harbou...@googlegroups.com
All,

I need a tree type program in Harbour to select a folder then down into sub-folders etc, and this started to look good.

I can run the EXE file in the download and it works. But when I try to compile it I get a number of errors saying a number of files are missing, eg folder.c, filemgr.c, udfs.c and several .obj files etc.
Where can I get these files?

Alternately, has anyone else produced a similar program (and not one which one is so complex?)  which can be incorporated into a Harbour application?

Geoffrey



On 28-May-25 3:17 am, HBQuerier wrote:

José M. C. Quintas

unread,
Jun 25, 2025, 7:29:50 PMJun 25
to harbou...@googlegroups.com

Why do not create it ?

Directory( "*.*", "D" )

Achoice, tbrowse, or anything else.

When ENTER, if folder, change path.

if folder .. previous path

can add options if dbf, prg, and others, to execute a routine.

May be using browse style, using console, hwgui, hmg3, hmg extended, oohg, fivewin

may be array or dbf or anything else.

it is only to check on samples, about how to do the browse, you will found ready to use browses.

José M. C. Quintas

HBQuerier

unread,
Jul 5, 2025, 12:47:29 PMJul 5
to Harbour Users
Geoffrey and Jose,

I'm sorry I didn't see this.  I don't check the Harbour group every week.

Geoffrey, I thought udfs.prg and all other sources were included in the .zip.  I'll take a look, and get back to.  The .c source usually gets deleted during the compilation process, but I'll keep them and include them in a new .zip.   Give me a day or so.


José, 

I think I did try it that way, but don't recall what happened.  At any rate, can't do any changes right now, am focusing on an argument diagrammer with Claude's assistance.  

HBQuerier

unread,
Jul 6, 2025, 8:13:37 AMJul 6
to Harbour Users
Hi Geoffrey,

This archive contains the .c and .obj files.

Note that this makes use of the MiniGui library 


including the \minigui\batch\compile.bat batch file.

Reply all
Reply to author
Forward
0 new messages