Does anyone know how to use FolderTree ? Is there documentation anywhere? The author's web site seems to have disappeared.
Thanks,
Robert
I have no experience with this control. However, I know that Roger Garstang (regular FF3 user here) has used it a lot - and even modified it to some extent. Maybe he can provide some pointers. There is not much info available other than some declares in the inc file:
Declare Function FolderTree_Create Lib "FolderTree.dll" (ByVal hWndParent As Dword, ByVal ControlID As Dword, ByVal nLeft As Dword, _
ByVal nTop As Dword, ByVal nWidth As Dword, ByVal nHeight As Dword) As Dword
Declare Function FolderTree_GetTreeViewHandle Lib "FolderTree.dll" (ByVal hWndFolderTree As Dword) As Dword
Declare Function FolderTree_GetIconStyle Lib "FolderTree.dll" (ByVal hWndFolderTree As Dword) As Dword
Declare Function FolderTree_SetIconStyle Lib "FolderTree.dll" (ByVal hWndFolderTree As Dword, ByVal IconStyle As Dword) As Dword
Declare Function FolderTree_GetRootPath Lib "FolderTree.dll" (ByVal hWndFolderTree As Dword) As String
Declare Function FolderTree_SetRootPath Lib "FolderTree.dll" (ByVal hWndFolderTree As Dword, ByVal RootPath As String) As Dword
Declare Function FolderTree_GetShowRoot Lib "FolderTree.dll" (ByVal hWndFolderTree As Dword) As Dword
Declare Function FolderTree_SetShowRoot Lib "FolderTree.dll" (ByVal hWndFolderTree As Dword, ByVal ShowRoot As Dword) As Dword
Declare Function FolderTree_GetItemPath Lib "FolderTree.dll" (ByVal hWndFolderTree As Dword, ByVal hItem As Dword) As String
Wow, Jim, that's an interesting link. I found some of my old websites that were killed almost 10 years ago! Good link to keep!
Yes, during FireFly Beta I made a version that didn't require the icon resources or a DLL and used the System Icon List of Windows. It was an INC variety of the custom controls, so keeping with PB on no requirement for DLLs it should have worked pretty slick. I kept on getting GPFs and stuff though and couldn't figure out why. I had made some suggestions for some things needed in the custom control model too then got busy at work.
Now that Paul fixed a lot of code and made things run smoother it may have fixed that portion causing it to fail. I think I may dig up the code and see if I can get it working. (I have the original source too, although mine is improved and a little faster...still could use some speed though) I'd like to start it with 3.10 or whatever Paul currently has in the oven though to make sure anything that could be wrong would be working 100%.